Package org.apache.activemq.spring
Class ActiveMQXAConnectionFactory
- java.lang.Object
-
- org.apache.activemq.jndi.JNDIBaseStorable
-
- org.apache.activemq.ActiveMQConnectionFactory
-
- org.apache.activemq.ActiveMQXAConnectionFactory
-
- org.apache.activemq.spring.ActiveMQXAConnectionFactory
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Cloneable
,ConnectionFactory
,QueueConnectionFactory
,TopicConnectionFactory
,XAConnectionFactory
,XAQueueConnectionFactory
,XATopicConnectionFactory
,Referenceable
,JNDIStorableInterface
,StatsCapable
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
public class ActiveMQXAConnectionFactory extends ActiveMQXAConnectionFactory implements org.springframework.beans.factory.BeanNameAware
A Spring enhanced XA connection factory which will automatically use the Spring bean name as the clientIDPrefix property so that connections created have client IDs related to your Spring.xml file for easier comprehension from JMX.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.ActiveMQConnectionFactory
alwaysSessionAsync, brokerURL, clientID, DEFAULT_BROKER_BIND_URL, DEFAULT_BROKER_URL, DEFAULT_PASSWORD, DEFAULT_PRODUCER_WINDOW_SIZE, DEFAULT_USER, dispatchAsync, password, userName, xaAckMode
-
-
Constructor Summary
Constructors Constructor Description ActiveMQXAConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
String
getBeanName()
boolean
isUseBeanNameAsClientIdPrefix()
void
setBeanName(String beanName)
void
setUseBeanNameAsClientIdPrefix(boolean useBeanNameAsClientIdPrefix)
-
Methods inherited from class org.apache.activemq.ActiveMQXAConnectionFactory
createActiveMQConnection, createXAConnection, createXAConnection, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, getXaAckMode, populateProperties, setXaAckMode
-
Methods inherited from class org.apache.activemq.ActiveMQConnectionFactory
buildFromMap, buildFromProperties, configureConnection, copy, createActiveMQConnection, createActiveMQConnection, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createTransport, getAuditDepth, getAuditMaximumProducerNumber, getBlobTransferPolicy, getBrokerURL, getClientID, getClientIdGenerator, getClientIDPrefix, getClientInternalExceptionListener, getCloseTimeout, getConnectionIdGenerator, getConnectResponseTimeout, getConsumerFailoverRedeliveryWaitPeriod, getExceptionListener, getMaxThreadPoolSize, getOptimizeAcknowledgeTimeOut, getOptimizedAckScheduledAckInterval, getPassword, getPrefetchPolicy, getProducerWindowSize, getRedeliveryPolicy, getRedeliveryPolicyMap, getRejectedTaskHandler, getSendTimeout, getSessionTaskRunner, getStats, getTransformer, getTransportListener, getTrustedPackages, getUserName, getWarnAboutUnstartedConnectionTimeout, isAlwaysSessionAsync, isAlwaysSyncSend, isCheckForDuplicates, isConsumerExpiryCheckEnabled, isCopyMessageOnSend, isDisableTimeStampsByDefault, isDispatchAsync, isExclusiveConsumer, isMessagePrioritySupported, isNestedMapAndListEnabled, isNonBlockingRedelivery, isObjectMessageSerializationDefered, isOptimizeAcknowledge, isOptimizedMessageDispatch, isRmIdFromConnectionId, isSendAcksAsync, isStatsEnabled, isTransactedIndividualAck, isTrustAllPackages, isUseAsyncSend, isUseCompression, isUseDedicatedTaskRunner, isUseRetroactiveConsumer, isWatchTopicAdvisories, setAlwaysSessionAsync, setAlwaysSyncSend, setAuditDepth, setAuditMaximumProducerNumber, setBlobTransferPolicy, setBrokerURL, setCheckForDuplicates, setClientID, setClientIdGenerator, setClientIDPrefix, setClientInternalExceptionListener, setCloseTimeout, setConnectionIdGenerator, setConnectionIDPrefix, setConnectResponseTimeout, 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, setTrustAllPackages, setTrustedPackages, setUseAsyncSend, setUseCompression, setUseDedicatedTaskRunner, setUseRetroactiveConsumer, setUserName, setWarnAboutUnstartedConnectionTimeout, setWatchTopicAdvisories
-
Methods inherited from class org.apache.activemq.jndi.JNDIBaseStorable
getProperties, getReference, readExternal, setProperties, writeExternal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
-
Methods inherited from interface javax.jms.QueueConnectionFactory
createQueueConnection, createQueueConnection
-
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
-
-
-
-
Method Detail
-
getBeanName
public String getBeanName()
-
setBeanName
public void setBeanName(String beanName)
- Specified by:
setBeanName
in interfaceorg.springframework.beans.factory.BeanNameAware
-
isUseBeanNameAsClientIdPrefix
public boolean isUseBeanNameAsClientIdPrefix()
-
setUseBeanNameAsClientIdPrefix
public void setUseBeanNameAsClientIdPrefix(boolean useBeanNameAsClientIdPrefix)
-
-