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