public final class ActiveMQXAConnection extends ActiveMQConnection implements XATopicConnection, 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, JMS_SESSION_CLIENT_ID_PROPERTY, 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 |
|---|---|
XAQueueSession |
createXAQueueSession()
Creates an
XAQueueSession object. |
XASession |
createXASession()
Creates an
XASession object. |
XATopicSession |
createXATopicSession()
Creates an
XATopicSession object. |
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, waitcreateTopicSessioncreateConnectionConsumer, createDurableConnectionConsumercreateQueueSessioncreateSessioncreateConnectionConsumerclose, createConnectionConsumer, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stoppublic ActiveMQXAConnection(ConnectionFactoryOptions options, String username, String password, int connectionType, String clientID, int dupsOKBatchSize, int transactionBatchSize, boolean cacheDestinations, boolean enable1xNaming, ClientSessionFactory sessionFactory)
public XASession createXASession() throws JMSException
XAConnectionXASession object.createXASession in interface XAConnectionXASessionJMSException - if the XAConnection object fails to create an XASession due to some internal
error.public XAQueueSession createXAQueueSession() throws JMSException
XAQueueConnectionXAQueueSession object.createXAQueueSession in interface XAQueueConnectionXAQueueSessionJMSException - if the XAQueueConnection object fails to create an XAQueueSession due to some
internal error.public XATopicSession createXATopicSession() throws JMSException
XATopicConnectionXATopicSession object.createXATopicSession in interface XATopicConnectionXATopicSessionJMSException - if the XATopicConnection object fails to create an XATopicSession due to some
internal error.protected boolean isXA()
isXA in class ActiveMQConnectionCopyright © 2021 JBoss by Red Hat. All rights reserved.