public final class ActiveMQXAConnection extends ActiveMQConnection implements jakarta.jms.XATopicConnection, jakarta.jms.XAQueueConnection
The flat implementation of XATopicConnection and XAQueueConnection is per design,
following common practices of JMS 1.1.
CONNECTION_ID_PROPERTY_NAME, EXCEPTION_DISCONNECT, EXCEPTION_FAILOVER, TYPE_GENERIC_CONNECTION, TYPE_QUEUE_CONNECTION, TYPE_TOPIC_CONNECTIONthreadAwareContext| Constructor and Description |
|---|
ActiveMQXAConnection(ConnectionFactoryOptions options,
String username,
String password,
int connectionType,
String clientID,
int dupsOKBatchSize,
int transactionBatchSize,
boolean cacheDestinations,
boolean enable1xNaming,
ClientSessionFactory sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.jms.XAQueueSession |
createXAQueueSession() |
jakarta.jms.XASession |
createXASession() |
jakarta.jms.XATopicSession |
createXATopicSession() |
protected boolean |
isXA() |
addTemporaryQueue, authorize, authorize, checkAck, checkClosed, close, containsTemporaryQueue, createAMQSession, createConnectionConsumer, createConnectionConsumer, createConnectionConsumer, createDurableConnectionConsumer, createNonXAQueueSession, createNonXASession, createNonXATopicSession, createQueueSession, createSession, createSession, createSession, createSessionInternal, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, createTopicSession, finalize, getClientID, getDeserializationBlackList, getDeserializationWhiteList, getExceptionListener, getFailoverListener, getInitialSession, getMetaData, getSessionFactory, getUID, hasNoLocal, isStarted, removeSession, removeTemporaryQueue, setClientID, setExceptionListener, setFailoverListener, setHasNoLocal, setReference, signalStopToAllSessions, start, stopcloseFromContext, createContext, createXAContext, getThreadAwareContext, incrementRefCounterclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ActiveMQXAConnection(ConnectionFactoryOptions options, String username, String password, int connectionType, String clientID, int dupsOKBatchSize, int transactionBatchSize, boolean cacheDestinations, boolean enable1xNaming, ClientSessionFactory sessionFactory)
public jakarta.jms.XASession createXASession()
throws jakarta.jms.JMSException
createXASession in interface jakarta.jms.XAConnectionjakarta.jms.JMSExceptionpublic jakarta.jms.XAQueueSession createXAQueueSession()
throws jakarta.jms.JMSException
createXAQueueSession in interface jakarta.jms.XAQueueConnectionjakarta.jms.JMSExceptionpublic jakarta.jms.XATopicSession createXATopicSession()
throws jakarta.jms.JMSException
createXATopicSession in interface jakarta.jms.XATopicConnectionjakarta.jms.JMSExceptionprotected boolean isXA()
isXA in class ActiveMQConnectionCopyright © 2022 The Apache Software Foundation. All rights reserved.