Package org.citrusframework.messaging
Class AbstractSelectiveMessageConsumer
java.lang.Object
org.citrusframework.messaging.AbstractMessageConsumer
org.citrusframework.messaging.AbstractSelectiveMessageConsumer
- All Implemented Interfaces:
Consumer,SelectiveConsumer
public abstract class AbstractSelectiveMessageConsumer
extends AbstractMessageConsumer
implements SelectiveConsumer
- Since:
- 1.4
- Author:
- Christoph Deppisch
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSelectiveMessageConsumer(String name, EndpointConfiguration endpointConfiguration) Default constructor using receive timeout setting. -
Method Summary
Modifier and TypeMethodDescriptionreceive(String selector, TestContext context) Receive message with a message selector and default timeout.receive(TestContext context, long timeout) Receive message with a given timeout.Methods 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.SelectiveConsumer
receive
-
Constructor Details
-
AbstractSelectiveMessageConsumer
Default constructor using receive timeout setting.- Parameters:
name-endpointConfiguration-
-
-
Method Details
-
receive
Description copied from interface:SelectiveConsumerReceive message with a message selector and default timeout.- Specified by:
receivein interfaceSelectiveConsumer- Returns:
-
receive
Description copied from interface:ConsumerReceive message with a given timeout.
-