public class JMSQueueAppender 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#JMSQueueAppender
| Constructor and Description |
|---|
JMSQueueAppender() |
| 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 |
getQueueBindingName()
Returns the value of the QueueBindingName option.
|
protected javax.jms.QueueConnection |
getQueueConnection()
Returns the QueueConnection used for this appender.
|
String |
getQueueConnectionFactoryBindingName()
Returns the value of the QueueConnectionFactoryBindingName option.
|
protected javax.jms.QueueSender |
getQueueSender()
Returns the QueueSender used for this appender.
|
protected javax.jms.QueueSession |
getQueueSession()
Returns the QueueSession used for this appender.
|
void |
setQueueBindingName(String queueBindingName)
The QueueBindingName option takes a string value.
|
void |
setQueueConnectionFactoryBindingName(String qcfBindingName)
The QueueConnectionFactoryBindingName 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 setQueueConnectionFactoryBindingName(String qcfBindingName)
QueueConnectionFactory from the JNDI context.public String getQueueConnectionFactoryBindingName()
public void setQueueBindingName(String queueBindingName)
Queue from the JNDI context.public String getQueueBindingName()
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.QueueConnection getQueueConnection()
protected javax.jms.QueueSession getQueueSession()
protected javax.jms.QueueSender getQueueSender()
Copyright © 2015. All rights reserved.