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, receive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
receive
public AbstractSelectiveMessageConsumer(String name, EndpointConfiguration endpointConfiguration)
name
- endpointConfiguration
- public Message receive(String selector, TestContext context)
SelectiveConsumer
receive
in interface SelectiveConsumer
public Message receive(TestContext context, long timeout)
Consumer
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.