org.apache.log.output.jms
Class JMSQueueTarget
java.lang.Object
|
+--org.apache.log.output.AbstractTarget
|
+--org.apache.log.output.jms.AbstractJMSTarget
|
+--org.apache.log.output.jms.JMSQueueTarget
- All Implemented Interfaces:
- ErrorAware, LogTarget
- public class JMSQueueTarget
- extends AbstractJMSTarget
A target that writes to a JMS Queue.
- Author:
- Mircea Toma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSQueueTarget
public JMSQueueTarget(MessageBuilder builder,
QueueConnectionFactory factory,
Queue queue)
JMSQueueTarget
public JMSQueueTarget(MessageBuilder builder,
QueueConnectionFactory factory,
Queue queue,
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
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.