public class JMSTopicAppender extends ch.qos.logback.core.net.JMSAppenderBase<ILoggingEvent>
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(E) method to do most
of the real appending work. |
String |
getTopicBindingName()
Returns the value of the TopicBindingName option.
|
protected javax.jms.TopicConnection |
getTopicConnection()
Returns the TopicConnection used for this appender.
|
String |
getTopicConnectionFactoryBindingName()
Returns the value of the TopicConnectionFactoryBindingName option.
|
protected javax.jms.TopicPublisher |
getTopicPublisher()
Returns the TopicPublisher used for this appender.
|
protected javax.jms.TopicSession |
getTopicSession()
Returns the TopicSession used for this appender.
|
void |
setTopicBindingName(String topicBindingName)
The TopicBindingName option takes a string value.
|
void |
setTopicConnectionFactoryBindingName(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.
|
buildEnvProperties, buildJNDIContext, getInitialContextFactoryName, getPassword, getProviderURL, getSecurityCredentials, getSecurityPrincipalName, getURLPkgPrefixes, getUserName, lookup, setInitialContextFactoryName, setPassword, setProviderURL, setSecurityCredentials, setSecurityPrincipalName, setURLPkgPrefixes, setUserNameaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic void setTopicConnectionFactoryBindingName(String tcfBindingName)
TopicConnectionFactory from the JNDI context.public String getTopicConnectionFactoryBindingName()
public void setTopicBindingName(String topicBindingName)
Topic from the JNDI context.public String getTopicBindingName()
public void start()
start in interface ch.qos.logback.core.spi.LifeCyclestart in class ch.qos.logback.core.AppenderBase<ILoggingEvent>public void stop()
stop in interface ch.qos.logback.core.spi.LifeCyclestop in class ch.qos.logback.core.AppenderBase<ILoggingEvent>public void append(ILoggingEvent event)
AppenderBase.doAppend(E) method to do most
of the real appending work.append in class ch.qos.logback.core.AppenderBase<ILoggingEvent>protected javax.jms.TopicConnection getTopicConnection()
protected javax.jms.TopicSession getTopicSession()
protected javax.jms.TopicPublisher getTopicPublisher()
Copyright © 2015. All rights reserved.