public class JmsTopicSubscriber extends JmsConsumer implements Runnable
endpointConfiguration| Constructor and Description |
|---|
JmsTopicSubscriber(String name,
JmsEndpointConfiguration endpointConfiguration,
TestContextFactory testContextFactory)
Default constructor using endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Gets the running.
|
Message |
receive(String selector,
TestContext context,
long timeout) |
Message |
receive(TestContext context,
long timeout) |
void |
run()
Starts consuming topic events.
|
void |
start() |
void |
stop() |
receivegetName, receivepublic JmsTopicSubscriber(String name, JmsEndpointConfiguration endpointConfiguration, TestContextFactory testContextFactory)
name - endpointConfiguration - public void start()
public void stop()
public Message receive(TestContext context, long timeout)
receive in interface Consumerreceive in class AbstractSelectiveMessageConsumerpublic Message receive(String selector, TestContext context, long timeout)
receive in interface SelectiveConsumerreceive in class JmsConsumerpublic boolean isRunning()
Copyright © 2008–2018 ConSol Software GmbH. All rights reserved.