public class ActiveMQXAConnectionFactory extends ActiveMQConnectionFactory implements XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory
XAConnection instancesalwaysSessionAsync, brokerURL, clientID, DEFAULT_BROKER_BIND_URL, DEFAULT_BROKER_URL, DEFAULT_PASSWORD, DEFAULT_PRODUCER_WINDOW_SIZE, DEFAULT_USER, dispatchAsync, password, userName, xaAckMode| Constructor and Description |
|---|
ActiveMQXAConnectionFactory() |
ActiveMQXAConnectionFactory(String brokerURL) |
ActiveMQXAConnectionFactory(String userName,
String password,
String brokerURL) |
ActiveMQXAConnectionFactory(String userName,
String password,
URI brokerURL) |
ActiveMQXAConnectionFactory(URI brokerURL) |
| Modifier and Type | Method and Description |
|---|---|
protected ActiveMQConnection |
createActiveMQConnection(Transport transport,
JMSStatsImpl stats) |
XAConnection |
createXAConnection() |
XAConnection |
createXAConnection(String userName,
String password) |
XAQueueConnection |
createXAQueueConnection() |
XAQueueConnection |
createXAQueueConnection(String userName,
String password) |
XATopicConnection |
createXATopicConnection() |
XATopicConnection |
createXATopicConnection(String userName,
String password) |
int |
getXaAckMode() |
void |
populateProperties(Properties props)
Initialize the instance from properties stored in JNDI
|
void |
setXaAckMode(int xaAckMode) |
buildFromMap, buildFromProperties, configureConnection, copy, createActiveMQConnection, createActiveMQConnection, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createTransport, getAuditDepth, getAuditMaximumProducerNumber, getBlobTransferPolicy, getBrokerURL, getClientID, getClientIdGenerator, getClientIDPrefix, getClientInternalExceptionListener, getCloseTimeout, getConnectionIdGenerator, getConsumerFailoverRedeliveryWaitPeriod, getExceptionListener, getMaxThreadPoolSize, getOptimizeAcknowledgeTimeOut, getOptimizedAckScheduledAckInterval, getPassword, getPrefetchPolicy, getProducerWindowSize, getRedeliveryPolicy, getRedeliveryPolicyMap, getRejectedTaskHandler, getSendTimeout, getSessionTaskRunner, getStats, getTransformer, getTransportListener, getUserName, getWarnAboutUnstartedConnectionTimeout, isAlwaysSessionAsync, isAlwaysSyncSend, isCheckForDuplicates, isConsumerExpiryCheckEnabled, isCopyMessageOnSend, isDisableTimeStampsByDefault, isDispatchAsync, isExclusiveConsumer, isMessagePrioritySupported, isNestedMapAndListEnabled, isNonBlockingRedelivery, isObjectMessageSerializationDefered, isOptimizeAcknowledge, isOptimizedMessageDispatch, isRmIdFromConnectionId, isSendAcksAsync, isStatsEnabled, isTransactedIndividualAck, isUseAsyncSend, isUseCompression, isUseDedicatedTaskRunner, isUseRetroactiveConsumer, isWatchTopicAdvisories, setAlwaysSessionAsync, setAlwaysSyncSend, setAuditDepth, setAuditMaximumProducerNumber, setBlobTransferPolicy, setBrokerURL, setCheckForDuplicates, setClientID, setClientIdGenerator, setClientIDPrefix, setClientInternalExceptionListener, setCloseTimeout, setConnectionIdGenerator, setConnectionIDPrefix, setConsumerExpiryCheckEnabled, setConsumerFailoverRedeliveryWaitPeriod, setCopyMessageOnSend, setDisableTimeStampsByDefault, setDispatchAsync, setExceptionListener, setExclusiveConsumer, setMaxThreadPoolSize, setMessagePrioritySupported, setNestedMapAndListEnabled, setNonBlockingRedelivery, setObjectMessageSerializationDefered, setOptimizeAcknowledge, setOptimizeAcknowledgeTimeOut, setOptimizedAckScheduledAckInterval, setOptimizedMessageDispatch, setPassword, setPrefetchPolicy, setProducerWindowSize, setRedeliveryPolicy, setRedeliveryPolicyMap, setRejectedTaskHandler, setRmIdFromConnectionId, setSendAcksAsync, setSendTimeout, setSessionTaskRunner, setStatsEnabled, setTransactedIndividualAck, setTransformer, setTransportListener, setUseAsyncSend, setUseCompression, setUseDedicatedTaskRunner, setUseRetroactiveConsumer, setUserName, setWarnAboutUnstartedConnectionTimeout, setWatchTopicAdvisoriesgetProperties, getReference, readExternal, setProperties, writeExternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateQueueConnection, createQueueConnectioncreateTopicConnection, createTopicConnectioncreateConnection, createConnectionpublic ActiveMQXAConnectionFactory()
public ActiveMQXAConnectionFactory(String userName, String password, String brokerURL)
public ActiveMQXAConnectionFactory(String userName, String password, URI brokerURL)
public ActiveMQXAConnectionFactory(String brokerURL)
public ActiveMQXAConnectionFactory(URI brokerURL)
public XAConnection createXAConnection() throws JMSException
createXAConnection in interface XAConnectionFactoryJMSExceptionpublic XAConnection createXAConnection(String userName, String password) throws JMSException
createXAConnection in interface XAConnectionFactoryJMSExceptionpublic XAQueueConnection createXAQueueConnection() throws JMSException
createXAQueueConnection in interface XAQueueConnectionFactoryJMSExceptionpublic XAQueueConnection createXAQueueConnection(String userName, String password) throws JMSException
createXAQueueConnection in interface XAQueueConnectionFactoryJMSExceptionpublic XATopicConnection createXATopicConnection() throws JMSException
createXATopicConnection in interface XATopicConnectionFactoryJMSExceptionpublic XATopicConnection createXATopicConnection(String userName, String password) throws JMSException
createXATopicConnection in interface XATopicConnectionFactoryJMSExceptionprotected ActiveMQConnection createActiveMQConnection(Transport transport, JMSStatsImpl stats) throws Exception
createActiveMQConnection in class ActiveMQConnectionFactoryExceptionpublic int getXaAckMode()
public void setXaAckMode(int xaAckMode)
public void populateProperties(Properties props)
JNDIBaseStorablepopulateProperties in class ActiveMQConnectionFactoryCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.