public class JMSReplayer extends Object implements org.springframework.context.Lifecycle, javax.jms.MessageListener
Constructor and Description |
---|
JMSReplayer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.jms.TopicConnectionFactory |
getConnectionFactory() |
String |
getTopic() |
boolean |
isRunning() |
void |
onMessage(javax.jms.Message message) |
boolean |
requiresLayout() |
void |
setConnectionFactory(javax.jms.TopicConnectionFactory connectionFactory) |
void |
setTopic(String topic) |
void |
start() |
void |
stop() |
public void close()
public boolean requiresLayout()
public javax.jms.TopicConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.TopicConnectionFactory connectionFactory)
connectionFactory
- the connectionFactory to setpublic String getTopic()
public void setTopic(String topic)
topic
- the topic to setpublic void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
Copyright © 2017 levigo holding gmbh. All rights reserved.