java.lang.Object
org.activemq.test.JmsResourceProvider
- public class JmsResourceProvider
- extends java.lang.Object
- Version:
- $Revision: 1.1.1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverUri
private java.lang.String serverUri
transacted
private boolean transacted
ackMode
private int ackMode
isTopic
private boolean isTopic
deliveryMode
private int deliveryMode
durableName
private java.lang.String durableName
clientID
private java.lang.String clientID
JmsResourceProvider
public JmsResourceProvider()
createConnectionFactory
public javax.jms.ConnectionFactory createConnectionFactory()
throws javax.jms.JMSException
createConnection
public javax.jms.Connection createConnection(javax.jms.ConnectionFactory cf)
throws javax.jms.JMSException
createSession
public javax.jms.Session createSession(javax.jms.Connection conn)
throws javax.jms.JMSException
createConsumer
public javax.jms.MessageConsumer createConsumer(javax.jms.Session session,
javax.jms.Destination destination)
throws javax.jms.JMSException
createConnectionConsumer
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Connection connection,
javax.jms.Destination destination,
javax.jms.ServerSessionPool ssp)
throws javax.jms.JMSException
createProducer
public javax.jms.MessageProducer createProducer(javax.jms.Session session,
javax.jms.Destination destination)
throws javax.jms.JMSException
createDestination
public javax.jms.Destination createDestination(javax.jms.Session session,
java.lang.String name)
throws javax.jms.JMSException
isDurableSubscriber
public boolean isDurableSubscriber()
getAckMode
public int getAckMode()
setAckMode
public void setAckMode(int ackMode)
isTopic
public boolean isTopic()
setTopic
public void setTopic(boolean isTopic)
getServerUri
public java.lang.String getServerUri()
setServerUri
public void setServerUri(java.lang.String serverUri)
isTransacted
public boolean isTransacted()
setTransacted
public void setTransacted(boolean transacted)
getDeliveryMode
public int getDeliveryMode()
setDeliveryMode
public void setDeliveryMode(int deliveryMode)
getClientID
public java.lang.String getClientID()
setClientID
public void setClientID(java.lang.String clientID)
getDurableName
public java.lang.String getDurableName()
setDurableName
public void setDurableName(java.lang.String durableName)