Package org.citrusframework.messaging
Interface Consumer
- All Known Subinterfaces:
ReplyConsumer,SelectiveConsumer
- All Known Implementing Classes:
AbstractMessageConsumer,AbstractSelectiveMessageConsumer
public interface Consumer
- Since:
- 1.4
- Author:
- Christoph Deppisch
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the consumer name.receive(TestContext context) Receive message with default timeout.receive(TestContext context, long timeout) Receive message with a given timeout.
-
Method Details
-
receive
Receive message with default timeout.- Parameters:
context-- Returns:
-
receive
Receive message with a given timeout.- Parameters:
context-timeout-- Returns:
-
getName
String getName()Gets the consumer name.- Returns:
-