Class WebSocketEndpoint
java.lang.Object
org.citrusframework.endpoint.AbstractEndpoint
org.citrusframework.websocket.endpoint.WebSocketEndpoint
- Direct Known Subclasses:
WebSocketClient
Endpoint constructs web socket consumer and producer with given endpoint configuration.
- Since:
- 2.3
- Author:
- Martin Maher
-
Constructor Summary
ConstructorsConstructorDescriptionWebSocketEndpoint(WebSocketEndpointConfiguration endpointConfiguration) Default constructor using endpoint configuration. -
Method Summary
Modifier and TypeMethodDescriptionorg.citrusframework.messaging.SelectiveConsumerorg.citrusframework.messaging.ProducervoidSets the web socket handler.Methods inherited from class org.citrusframework.endpoint.AbstractEndpoint
getActor, getConsumerName, getName, getProducerName, setActor, setName
-
Constructor Details
-
WebSocketEndpoint
Default constructor using endpoint configuration.- Parameters:
endpointConfiguration-
-
-
Method Details
-
createConsumer
public org.citrusframework.messaging.SelectiveConsumer createConsumer() -
createProducer
public org.citrusframework.messaging.Producer createProducer() -
getEndpointConfiguration
- Specified by:
getEndpointConfigurationin interfaceEndpoint- Overrides:
getEndpointConfigurationin classAbstractEndpoint
-
setWebSocketHandler
Sets the web socket handler.- Parameters:
handler-
-