Package org.objectweb.joram.client.jms
Class XAQueueConnection
- java.lang.Object
-
- org.objectweb.joram.client.jms.Connection
-
- org.objectweb.joram.client.jms.QueueConnection
-
- org.objectweb.joram.client.jms.XAQueueConnection
-
- All Implemented Interfaces:
AutoCloseable,Connection,QueueConnection,XAConnection,XAQueueConnection,ConnectionMBean
public class XAQueueConnection extends QueueConnection implements XAQueueConnection
Implements thejavax.jms.XAQueueConnectioninterface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.objectweb.joram.client.jms.Connection
Connection.AtomicCounter, Connection.Closer
-
-
Field Summary
Fields Modifier and Type Field Description private XAResourceMngrrmResource manager instance.-
Fields inherited from class org.objectweb.joram.client.jms.Connection
JMXBeanBaseName, logger, MESSAGE_ID_PREFIX_PROPERTY, messageConsumers, tracker
-
-
Constructor Summary
Constructors Constructor Description XAQueueConnection()Creates anXAQueueConnectioninstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XAQueueSessioncreateXAQueueSession()API method.XASessioncreateXASession()Method inherited from interfaceXAConnection.XAResourceMngrgetXAResourceMngr()return XAResourceMngr of this connection. see connector-
Methods inherited from class org.objectweb.joram.client.jms.QueueConnection
createConnectionConsumer, createDurableConnectionConsumer, createQueueSession
-
Methods inherited from class org.objectweb.joram.client.jms.Connection
addSession, checkCLMessageProducer, checkClosed, checkCLSession, checkConsumers, checkThread, cleanup, close, closeConnectionConsumer, closeMessageConsumer, closeSession, createConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, doClose, equals, getAsyncSend, getClientID, getCompressedMinSize, getCompressionLevel, getExceptionListener, getImplicitAck, getInInterceptors, getJMXBeanName, getMetaData, getOutInterceptors, getOutLocalAddress, getOutLocalPort, getProxyId, getQueueMessageReadMax, getRequestMultiplexer, getTopicAckBufferMax, getTopicActivationThreshold, getTopicPassivationThreshold, getTxPendingTimer, hashCode, isOpenMessageConsumer, isStopped, lockClientId, nextMessageId, nextSessionId, nextSubName, open, openMessageConsumer, registerMBean, setClientID, setExceptionListener, setJMXBeanBaseName, setProviderClientID, start, stop, syncRequest, toString, unregisterMBean
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
-
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer
-
Methods inherited from interface javax.jms.XAConnection
createSession
-
Methods inherited from interface javax.jms.XAQueueConnection
createQueueSession
-
-
-
-
Field Detail
-
rm
private XAResourceMngr rm
Resource manager instance.
-
-
Method Detail
-
createXAQueueSession
public XAQueueSession createXAQueueSession() throws JMSException
API method. Creates an XAQueueSession object.- Specified by:
createXAQueueSessionin interfaceXAQueueConnection- Returns:
- A newly created session.
- Throws:
IllegalStateException- If the connection is closed.JMSException
-
createXASession
public XASession createXASession() throws JMSException
Method inherited from interfaceXAConnection.- Specified by:
createXASessionin interfaceXAConnection- Throws:
IllegalStateException- If the connection is closed.JMSException
-
getXAResourceMngr
public XAResourceMngr getXAResourceMngr()
return XAResourceMngr of this connection. see connector
-
-