public class XAConnection extends Connection implements jakarta.jms.XAConnection
The XAConnection class extends the capability of Connection by providing an XASession. This class offers support to transactional environments. Client programs are strongly encouraged to use the transactional support available in their environment, rather than use these XA interfaces directly.
Connection.AtomicCounter, Connection.Closer| Modifier and Type | Field and Description |
|---|---|
private XAResourceMngr |
rm
Resource manager instance.
|
JMXBeanBaseName, logger, MESSAGE_ID_PREFIX_PROPERTY, messageConsumers, tracker| Constructor and Description |
|---|
XAConnection()
Creates a
XAConnection instance. |
| Modifier and Type | Method and Description |
|---|---|
jakarta.jms.XASession |
createXASession()
Creates a XA session.
|
XAResourceMngr |
getXAResourceMngr()
return XAResourceMngr of this connection.
|
addSession, checkCLMessageProducer, checkClosed, checkCLSession, checkConsumers, checkThread, cleanup, close, closeConnectionConsumer, closeMessageConsumer, closeSession, createConnectionConsumer, createDurableConnectionConsumer, 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, unregisterMBeanclone, finalize, getClass, notify, notifyAll, wait, wait, waitclose, createConnectionConsumer, createDurableConnectionConsumer, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stopprivate XAResourceMngr rm
public jakarta.jms.XASession createXASession()
throws jakarta.jms.JMSException
createXASession in interface jakarta.jms.XAConnectionjakarta.jms.IllegalStateException - If the connection is closed.jakarta.jms.JMSExceptionpublic XAResourceMngr getXAResourceMngr()
Copyright © 2023 ScalAgent D.T.. All rights reserved.