public class JMSTopicAppender
extends <any>
javax.jms.ObjectMessage.
For more information about this appender, please refer to
http://logback.qos.ch/manual/appenders.html#JMSTopicAppender| Constructor and Description |
|---|
JMSTopicAppender() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(ILoggingEvent event)
This method called by
AppenderBase#doAppend method to do most
of the real appending work. |
java.lang.String |
getTopicBindingName()
Returns the value of the TopicBindingName option.
|
protected TopicConnection |
getTopicConnection()
Returns the TopicConnection used for this appender.
|
java.lang.String |
getTopicConnectionFactoryBindingName()
Returns the value of the TopicConnectionFactoryBindingName option.
|
protected TopicPublisher |
getTopicPublisher()
Returns the TopicPublisher used for this appender.
|
protected TopicSession |
getTopicSession()
Returns the TopicSession used for this appender.
|
void |
setTopicBindingName(java.lang.String topicBindingName)
The TopicBindingName option takes a string value.
|
void |
setTopicConnectionFactoryBindingName(java.lang.String tcfBindingName)
The TopicConnectionFactoryBindingName option takes a string value.
|
void |
start()
Options are activated and become effective only after calling this method.
|
void |
stop()
Close this JMSAppender.
|
public void setTopicConnectionFactoryBindingName(java.lang.String tcfBindingName)
TopicConnectionFactory from the JNDI context.public java.lang.String getTopicConnectionFactoryBindingName()
public void setTopicBindingName(java.lang.String topicBindingName)
Topic from the JNDI context.public java.lang.String getTopicBindingName()
public void start()
public void stop()
public void append(ILoggingEvent event)
AppenderBase#doAppend method to do most
of the real appending work.protected TopicConnection getTopicConnection()
protected TopicSession getTopicSession()
protected TopicPublisher getTopicPublisher()