WebSocketClientService
Implementation: JettyWebSocketClient
A WebSocket CLIENT Controller Service which can connect to a WebSocket server. | WebSocket Client Id | websocket-client-id | | | The client ID to identify WebSocket session. It should be unique within the WebSocket Client Controller Service. Otherwise, it throws WebSocketConfigurationException when it gets started. |
Relationships:
Name | Description |
---|
success | FlowFile holding connection configuration attributes (like URL or HTTP headers) in case of successful connection |
text message | The WebSocket text message output |
binary message | The WebSocket binary message output |
failure | FlowFile holding connection configuration attributes (like URL or HTTP headers) in case of connection failure |
connected | The WebSocket session is established |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
websocket.controller.service.id | WebSocket Controller Service id. |
websocket.session.id | Established WebSocket session id. |
websocket.endpoint.id | WebSocket endpoint id. |
websocket.local.address | WebSocket client address. |
websocket.remote.address | WebSocket server address. |
websocket.message.type | TEXT or BINARY. |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component allows an incoming relationship.System Resource Considerations:
None specified.