Package org.citrusframework.messaging
Class AbstractMessageConsumer
java.lang.Object
org.citrusframework.messaging.AbstractMessageConsumer
- All Implemented Interfaces:
Consumer
- Direct Known Subclasses:
AbstractSelectiveMessageConsumer
- Since:
- 1.4
- Author:
- Christoph Deppisch
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMessageConsumer(String name, EndpointConfiguration endpointConfiguration) Default constructor using receive timeout setting. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the consumer name.receive(TestContext context) Receive message with default timeout.
-
Constructor Details
-
AbstractMessageConsumer
Default constructor using receive timeout setting.- Parameters:
name-endpointConfiguration-
-
-
Method Details