org.apache.activemq.tool
Class ToolSupport
java.lang.Object
org.apache.activemq.tool.ToolSupport
- Direct Known Subclasses:
- ConsumerTool, ProducerTool
public class ToolSupport
- extends Object
Abstract base class useful for implementation inheritence
- Version:
- $Revision$
Method Summary |
protected void |
close(javax.jms.Connection connection,
javax.jms.Session session)
|
protected javax.jms.Connection |
createConnection()
|
protected javax.jms.Session |
createSession(javax.jms.Connection connection)
|
protected void |
dumpStats(javax.jms.Connection connection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destination
protected javax.jms.Destination destination
subject
protected String subject
topic
protected boolean topic
user
protected String user
pwd
protected String pwd
url
protected String url
transacted
protected boolean transacted
durable
protected boolean durable
clientID
protected String clientID
ackMode
protected int ackMode
consumerName
protected String consumerName
ToolSupport
public ToolSupport()
createSession
protected javax.jms.Session createSession(javax.jms.Connection connection)
throws Exception
- Throws:
Exception
createConnection
protected javax.jms.Connection createConnection()
throws javax.jms.JMSException,
Exception
- Throws:
javax.jms.JMSException
Exception
close
protected void close(javax.jms.Connection connection,
javax.jms.Session session)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
dumpStats
protected void dumpStats(javax.jms.Connection connection)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.