org.apache.activemq.tool
Class AbstractJmsClient
java.lang.Object
org.apache.activemq.tool.AbstractJmsClient
- Direct Known Subclasses:
- AbstractJmsMeasurableClient
public abstract class AbstractJmsClient
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected javax.jms.ConnectionFactory factory
jmsConnection
protected javax.jms.Connection jmsConnection
jmsSession
protected javax.jms.Session jmsSession
destCount
protected int destCount
destIndex
protected int destIndex
clientName
protected java.lang.String clientName
AbstractJmsClient
public AbstractJmsClient(javax.jms.ConnectionFactory factory)
getClient
public abstract JmsClientProperties getClient()
setClient
public abstract void setClient(JmsClientProperties client)
getFactory
public javax.jms.ConnectionFactory getFactory()
setFactory
public void setFactory(javax.jms.ConnectionFactory factory)
getDestCount
public int getDestCount()
setDestCount
public void setDestCount(int destCount)
getDestIndex
public int getDestIndex()
setDestIndex
public void setDestIndex(int destIndex)
getClientName
public java.lang.String getClientName()
setClientName
public void setClientName(java.lang.String clientName)
getConnection
public javax.jms.Connection getConnection()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getSession
public javax.jms.Session getSession()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createDestination
public javax.jms.Destination[] createDestination(int destIndex,
int destCount)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createCompositeDestination
public javax.jms.Destination createCompositeDestination(int destIndex,
int destCount)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createCompositeDestination
protected javax.jms.Destination createCompositeDestination(java.lang.String name,
int destIndex,
int destCount)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createDestination
protected javax.jms.Destination createDestination(java.lang.String name)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.