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:
jakarta.jms.ConnectionFactory, jakarta.jms.QueueConnectionFactory, jakarta.jms.TopicConnectionFactory, jakarta.jms.XAConnectionFactory, jakarta.jms.XAQueueConnectionFactory, jakarta.jms.XATopicConnectionFactory, Externalizable, Serializable, AutoCloseable, Referenceable, ConnectionFactoryOptions
public class ActiveMQXAConnectionFactory
extends ActiveMQConnectionFactory
implements jakarta.jms.XATopicConnectionFactory, jakarta.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:
-
Constructor Summary
ConstructorsConstructorDescriptionActiveMQXAConnectionFactory(boolean ha, org.apache.activemq.artemis.api.core.DiscoveryGroupConfiguration groupConfiguration) ActiveMQXAConnectionFactory(boolean ha, org.apache.activemq.artemis.api.core.TransportConfiguration... initialConnectors) ActiveMQXAConnectionFactory(String url, String user, String password) ActiveMQXAConnectionFactory(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator) -
Method Summary
Methods inherited from class 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, getCompressionLevel, getConfirmationWindowSize, getConnectionLoadBalancingPolicyClassName, getConnectionTTL, getConsumerMaxRate, getConsumerWindowSize, getDeserializationAllowList, getDeserializationBlackList, getDeserializationDenyList, getDeserializationWhiteList, getDiscoveryGroupConfiguration, getDupsOKBatchSize, getGroupID, getIncomingInterceptorList, getInitialConnectAttempts, getInitialMessagePacketSize, getMaxRetryInterval, getMinLargeMessageSize, getOutgoingInterceptorList, getPassword, getPasswordCodec, 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, setCompressionLevel, setCompressLargeMessage, setConfirmationWindowSize, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConsumerMaxRate, setConsumerWindowSize, setDeserializationAllowList, setDeserializationBlackList, setDeserializationDenyList, setDeserializationWhiteList, setDupsOKBatchSize, setEnable1xPrefixes, setEnableSharedClientID, setFailoverOnInitialConnection, setGroupID, setIgnoreJTA, setIncomingInterceptorList, setInitialConnectAttempts, setInitialMessagePacketSize, setMaxRetryInterval, setMinLargeMessageSize, setOutgoingInterceptorList, setPassword, setPasswordCodec, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setProtocolManagerFactoryStr, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setTransactionBatchSize, setUseGlobalPools, setUser, setUseTopologyForLoadBalancing, toString, toURI, writeExternalMethods inherited from class JNDIStorable
getReference, readObject, writeObjectMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.jms.ConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContextMethods inherited from interface jakarta.jms.QueueConnectionFactory
createQueueConnection, createQueueConnectionMethods inherited from interface jakarta.jms.TopicConnectionFactory
createTopicConnection, createTopicConnectionMethods inherited from interface jakarta.jms.XAConnectionFactory
createXAConnection, createXAConnection, createXAContext, createXAContextMethods inherited from interface jakarta.jms.XAQueueConnectionFactory
createXAQueueConnection, createXAQueueConnectionMethods inherited from interface jakarta.jms.XATopicConnectionFactory
createXATopicConnection, createXATopicConnection
-
Constructor Details
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory() -
ActiveMQXAConnectionFactory
-
ActiveMQXAConnectionFactory
-
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(org.apache.activemq.artemis.api.core.client.ServerLocator serverLocator) -
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(boolean ha, org.apache.activemq.artemis.api.core.DiscoveryGroupConfiguration groupConfiguration) -
ActiveMQXAConnectionFactory
public ActiveMQXAConnectionFactory(boolean ha, org.apache.activemq.artemis.api.core.TransportConfiguration... initialConnectors)
-
-
Method Details
-
getFactoryType
public int getFactoryType()- Overrides:
getFactoryTypein classActiveMQConnectionFactory
-