public abstract class ToTopicSender extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
protected org.apache.activemq.pool.PooledConnectionFactory |
pooledConnectionFactory |
| Modifier | Constructor and Description |
|---|---|
protected |
ToTopicSender() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.jms.Message |
getMessage(Serializable object,
javax.jms.Session session) |
void |
mqTeardown()
teardown for the message queues
|
protected void |
send(Serializable object,
String topicName) |
protected final org.slf4j.Logger logger
protected volatile org.apache.activemq.pool.PooledConnectionFactory pooledConnectionFactory
public void mqTeardown()
protected javax.jms.Message getMessage(Serializable object, javax.jms.Session session) throws javax.jms.JMSException, IOException
javax.jms.JMSExceptionIOExceptionprotected void send(Serializable object, String topicName)
object - the objecttopicName - name of the topic you want to useCopyright © 2016–2023 Taimos GmbH. All rights reserved.