Class WebSocketConsumer
java.lang.Object
org.citrusframework.messaging.AbstractMessageConsumer
org.citrusframework.messaging.AbstractSelectiveMessageConsumer
org.citrusframework.websocket.endpoint.WebSocketConsumer
- All Implemented Interfaces:
org.citrusframework.messaging.Consumer,org.citrusframework.messaging.SelectiveConsumer
public class WebSocketConsumer
extends org.citrusframework.messaging.AbstractSelectiveMessageConsumer
Consumer polls for incoming messages on web socket handler.
- Since:
- 2.3
- Author:
- Martin Maher
-
Constructor Summary
ConstructorsConstructorDescriptionWebSocketConsumer(String name, WebSocketEndpointConfiguration endpointConfiguration) Default constructor using receive timeout setting. -
Method Summary
Methods inherited from class org.citrusframework.messaging.AbstractSelectiveMessageConsumer
receive, receiveMethods inherited from class org.citrusframework.messaging.AbstractMessageConsumer
getName, receiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.messaging.Consumer
getName, receive
-
Constructor Details
-
WebSocketConsumer
Default constructor using receive timeout setting.- Parameters:
name-endpointConfiguration-
-
-
Method Details
-
receive
-