org.apache.log.output.jms
Class JMSTopicTarget
java.lang.Object
org.apache.log.output.AbstractTarget
org.apache.log.output.jms.AbstractJMSTarget
org.apache.log.output.jms.JMSTopicTarget
- All Implemented Interfaces:
- Closeable, ErrorAware, LogTarget
- public class JMSTopicTarget
- extends AbstractJMSTarget
A target that writes to a JMS Topic.
- Author:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_factory
private TopicConnectionFactory m_factory
-
m_topic
private Topic m_topic
-
m_session
private TopicSession m_session
-
m_publisher
private TopicPublisher m_publisher
-
m_connection
private TopicConnection m_connection
-
JMSTopicTarget
public JMSTopicTarget(MessageBuilder builder,
TopicConnectionFactory factory,
Topic topic)
JMSTopicTarget
public JMSTopicTarget(MessageBuilder builder,
TopicConnectionFactory factory,
Topic topic,
ErrorHandler handler)
send
protected void send(Message message)
-
- Specified by:
send in class AbstractJMSTarget
-
getSession
protected Session getSession()
-
- Specified by:
getSession in class AbstractJMSTarget
-
openConnection
protected void openConnection()
-
- Specified by:
openConnection in class AbstractJMSTarget
-
closeConnection
protected void closeConnection()
-
- Specified by:
closeConnection in class AbstractJMSTarget
-
Please see keelframework.org for information about new Keel releases.