Interface Consumer

All Known Subinterfaces:
ReplyConsumer, SelectiveConsumer
All Known Implementing Classes:
AbstractMessageConsumer, AbstractSelectiveMessageConsumer

public interface Consumer
Since:
1.4
Author:
Christoph Deppisch
  • Method Details

    • receive

      Message receive(TestContext context)
      Receive message with default timeout.
      Parameters:
      context -
      Returns:
    • receive

      Message receive(TestContext context, long timeout)
      Receive message with a given timeout.
      Parameters:
      context -
      timeout -
      Returns:
    • getName

      String getName()
      Gets the consumer name.
      Returns: