Class ActiveMQXAConnectionFactory
- java.lang.Object
-
- org.apache.activemq.artemis.jndi.JNDIStorable
-
- org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
-
- org.apache.activemq.artemis.jms.client.ActiveMQXAConnectionFactory
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,java.lang.AutoCloseable
,javax.jms.ConnectionFactory
,javax.jms.QueueConnectionFactory
,javax.jms.TopicConnectionFactory
,javax.jms.XAConnectionFactory
,javax.jms.XAQueueConnectionFactory
,javax.jms.XATopicConnectionFactory
,javax.naming.Referenceable
,ConnectionFactoryOptions
public class ActiveMQXAConnectionFactory extends ActiveMQConnectionFactory implements javax.jms.XATopicConnectionFactory, javax.jms.XAQueueConnectionFactory
A class that represents a XAConnectionFactory.We consider the XAConnectionFactory to be the most complete possible option. It can be casted to any other connection factory since it is fully functional
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActiveMQXAConnectionFactory()
ActiveMQXAConnectionFactory(boolean ha, DiscoveryGroupConfiguration groupConfiguration)
ActiveMQXAConnectionFactory(boolean ha, TransportConfiguration... initialConnectors)
ActiveMQXAConnectionFactory(java.lang.String uri)
ActiveMQXAConnectionFactory(java.lang.String url, java.lang.String user, java.lang.String password)
ActiveMQXAConnectionFactory(ServerLocator serverLocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFactoryType()
-
Methods inherited from class org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
buildFromProperties, close, createConnection, createConnection, createConnectionInternal, createContext, createContext, createContext, createContext, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createXAConnection, createXAConnection, createXAContext, createXAContext, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, getCallFailoverTimeout, getCallTimeout, getClientFailureCheckPeriod, getClientID, getConfirmationWindowSize, getConnectionLoadBalancingPolicyClassName, getConnectionTTL, getConsumerMaxRate, getConsumerWindowSize, getDeserializationBlackList, getDeserializationWhiteList, getDiscoveryGroupConfiguration, getDupsOKBatchSize, getGroupID, getIncomingInterceptorList, getInitialConnectAttempts, getInitialMessagePacketSize, getMaxRetryInterval, getMinLargeMessageSize, getOutgoingInterceptorList, getPassword, getProducerMaxRate, getProducerWindowSize, getProtocolManagerFactoryStr, getReconnectAttempts, getRetryInterval, getRetryIntervalMultiplier, getScheduledThreadPoolMaxSize, getServerLocator, getStaticConnectors, getThreadPoolMaxSize, getTransactionBatchSize, getUser, isAutoGroup, isBlockOnAcknowledge, isBlockOnDurableSend, isBlockOnNonDurableSend, isCacheDestinations, isCacheLargeMessagesClient, isCompressLargeMessage, isEnable1xPrefixes, isEnableSharedClientID, isFailoverOnInitialConnection, isHA, isIgnoreJTA, isPreAcknowledge, isUseGlobalPools, isUseTopologyForLoadBalancing, makeReadOnly, populateProperties, readExternal, setAutoGroup, setBlockOnAcknowledge, setBlockOnDurableSend, setBlockOnNonDurableSend, setBrokerURL, setCacheDestinations, setCacheLargeMessagesClient, setCallFailoverTimeout, setCallTimeout, setClientFailureCheckPeriod, setClientID, setCompressLargeMessage, setConfirmationWindowSize, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConsumerMaxRate, setConsumerWindowSize, setDeserializationBlackList, setDeserializationWhiteList, setDupsOKBatchSize, setEnable1xPrefixes, setEnableSharedClientID, setFailoverOnInitialConnection, setGroupID, setIgnoreJTA, setIncomingInterceptorList, setInitialConnectAttempts, setInitialMessagePacketSize, setMaxRetryInterval, setMinLargeMessageSize, setOutgoingInterceptorList, setPassword, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setProtocolManagerFactoryStr, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setTransactionBatchSize, setUseGlobalPools, setUser, setUseTopologyForLoadBalancing, toString, toURI, writeExternal
-
Methods inherited from class org.apache.activemq.artemis.jndi.JNDIStorable
getReference, readObject, writeObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext
-
Methods inherited from interface javax.jms.QueueConnectionFactory
createQueueConnection, createQueueConnection
-
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
-
Methods inherited from interface javax.jms.XAConnectionFactory
createXAConnection, createXAConnection, createXAContext, createXAContext
-
-
-
-
Constructor Detail
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory()
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(java.lang.String uri)
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(java.lang.String url, java.lang.String user, java.lang.String password)
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(ServerLocator serverLocator)
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(boolean ha, DiscoveryGroupConfiguration groupConfiguration)
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(boolean ha, TransportConfiguration... initialConnectors)
-
-
Method Detail
-
getFactoryType
public int getFactoryType()
- Overrides:
getFactoryType
in classActiveMQConnectionFactory
-
-