Package org.objectweb.joram.client.jms
Class XATopicConnection
- java.lang.Object
-
- org.objectweb.joram.client.jms.Connection
-
- org.objectweb.joram.client.jms.TopicConnection
-
- org.objectweb.joram.client.jms.XATopicConnection
-
- All Implemented Interfaces:
AutoCloseable,Connection,TopicConnection,XAConnection,XATopicConnection,ConnectionMBean
public class XATopicConnection extends TopicConnection implements XATopicConnection
Implements thejavax.jms.XATopicConnectioninterface.
-
-
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 XATopicConnection()Creates anXATopicConnectioninstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XASessioncreateXASession()Method inherited from interfaceXAConnection.XATopicSessioncreateXATopicSession()API method.XAResourceMngrgetXAResourceMngr()return XAResourceMngr of this connection.-
Methods inherited from class org.objectweb.joram.client.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
-
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, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
-
Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer
-
Methods inherited from interface javax.jms.XAConnection
createSession
-
Methods inherited from interface javax.jms.XATopicConnection
createTopicSession
-
-
-
-
Field Detail
-
rm
private XAResourceMngr rm
Resource manager instance.
-
-
Method Detail
-
createXATopicSession
public XATopicSession createXATopicSession() throws JMSException
API method. Creates an XATopicSession object.- Specified by:
createXATopicSessionin interfaceXATopicConnection- 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
-
-