public class JMSQueueAppender
extends <any>
javax.jms.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 method to do most
of the real appending work. |
java.lang.String |
getQueueBindingName()
Returns the value of the QueueBindingName option.
|
protected QueueConnection |
getQueueConnection()
Returns the QueueConnection used for this appender.
|
java.lang.String |
getQueueConnectionFactoryBindingName()
Returns the value of the QueueConnectionFactoryBindingName option.
|
protected QueueSender |
getQueueSender()
Returns the QueueSender used for this appender.
|
protected QueueSession |
getQueueSession()
Returns the QueueSession used for this appender.
|
void |
setQueueBindingName(java.lang.String queueBindingName)
The QueueBindingName option takes a string value.
|
void |
setQueueConnectionFactoryBindingName(java.lang.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.
|
public void setQueueConnectionFactoryBindingName(java.lang.String qcfBindingName)
QueueConnectionFactory from the JNDI context.public java.lang.String getQueueConnectionFactoryBindingName()
public void setQueueBindingName(java.lang.String queueBindingName)
Queue from the JNDI context.public java.lang.String getQueueBindingName()
public void start()
public void stop()
public void append(ILoggingEvent event)
AppenderBase#doAppend method to do most
of the real appending work.protected QueueConnection getQueueConnection()
protected QueueSession getQueueSession()
protected QueueSender getQueueSender()