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 state.
|
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, receiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, 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 com.consol.citrus.messaging.Consumerreceive in class com.consol.citrus.messaging.AbstractSelectiveMessageConsumerpublic Message receive(String selector, TestContext context, long timeout)
receive in interface com.consol.citrus.messaging.SelectiveConsumerreceive in class JmsConsumerpublic boolean isRunning()
Copyright © 2008–2021 ConSol Software GmbH. All rights reserved.