Class WebSocketProducer
java.lang.Object
org.citrusframework.websocket.endpoint.WebSocketProducer
- All Implemented Interfaces:
org.citrusframework.messaging.Producer
Producer sends web socket messages to all open sessions known to the web socket handler.
- Since:
- 2.3
- Author:
- Martin Maher
-
Constructor Summary
ConstructorsConstructorDescriptionWebSocketProducer(String name, WebSocketEndpointConfiguration endpointConfiguration) Default constructor using endpoint configuration. -
Method Summary
-
Constructor Details
-
WebSocketProducer
Default constructor using endpoint configuration.- Parameters:
name-endpointConfiguration-
-
-
Method Details
-
send
- Specified by:
sendin interfaceorg.citrusframework.messaging.Producer
-
getName
- Specified by:
getNamein interfaceorg.citrusframework.messaging.Producer
-