org.apache.activemq.spring
Class ActiveMQConnectionFactory
java.lang.Object
org.apache.activemq.jndi.JNDIBaseStorable
org.apache.activemq.ActiveMQConnectionFactory
org.apache.activemq.spring.ActiveMQConnectionFactory
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Referenceable, JNDIStorableInterface, StatsCapable, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
public class ActiveMQConnectionFactory
- extends ActiveMQConnectionFactory
- implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware
A Spring enhanced 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.
- Version:
- $Revision: $
- See Also:
- Serialized Form
Methods inherited from class org.apache.activemq.ActiveMQConnectionFactory |
buildFromMap, buildFromProperties, copy, createActiveMQConnection, createActiveMQConnection, createActiveMQConnection, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createTransport, getBrokerURL, getClientID, getClientIdGenerator, getClientIDPrefix, getCloseTimeout, getPassword, getPrefetchPolicy, getRedeliveryPolicy, getStats, getUserName, isAlwaysSessionAsync, isCopyMessageOnSend, isDisableTimeStampsByDefault, isDispatchAsync, isNestedMapAndListEnabled, isObjectMessageSerializationDefered, isOptimizeAcknowledge, isOptimizedMessageDispatch, isStatsEnabled, isUseAsyncSend, isUseCompression, isUseRetroactiveConsumer, isUseSyncSend, isWatchTopicAdvisories, populateProperties, setAlwaysSessionAsync, setBrokerURL, setClientID, setClientIdGenerator, setClientIDPrefix, setCloseTimeout, setCopyMessageOnSend, setDisableTimeStampsByDefault, setDispatchAsync, setNestedMapAndListEnabled, setObjectMessageSerializationDefered, setOptimizeAcknowledge, setOptimizedMessageDispatch, setPassword, setPrefetchPolicy, setRedeliveryPolicy, setStatsEnabled, setUseAsyncSend, setUseCompression, setUseRetroactiveConsumer, setUserName, setUseSyncSend, setWatchTopicAdvisories |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveMQConnectionFactory
public ActiveMQConnectionFactory()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getBeanName
public String getBeanName()
setBeanName
public void setBeanName(String beanName)
- Specified by:
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
isUseBeanNameAsClientIdPrefix
public boolean isUseBeanNameAsClientIdPrefix()
setUseBeanNameAsClientIdPrefix
public void setUseBeanNameAsClientIdPrefix(boolean useBeanNameAsClientIdPrefix)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.