public abstract class AbstractSelectiveMessageConsumer extends AbstractMessageConsumer implements SelectiveConsumer
| Constructor and Description |
|---|
AbstractSelectiveMessageConsumer(String name,
EndpointConfiguration endpointConfiguration)
Default constructor using receive timeout setting.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
receive(String selector,
TestContext context)
Receive message with a message selector and default timeout.
|
Message |
receive(TestContext context,
long timeout)
Receive message with a given timeout.
|
getName, receiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreceivepublic AbstractSelectiveMessageConsumer(String name, EndpointConfiguration endpointConfiguration)
name - endpointConfiguration - public Message receive(String selector, TestContext context)
SelectiveConsumerreceive in interface SelectiveConsumerpublic Message receive(TestContext context, long timeout)
ConsumerCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.