|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.jndi.JNDIBaseStorable
org.apache.activemq.ActiveMQConnectionFactory
org.apache.activemq.ActiveMQXAConnectionFactory
org.apache.activemq.spring.ActiveMQXAConnectionFactory
public class ActiveMQXAConnectionFactory
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.
Field Summary |
---|
Fields inherited from class org.apache.activemq.ActiveMQConnectionFactory |
---|
alwaysSessionAsync, brokerURL, clientID, DEFAULT_BROKER_BIND_URL, DEFAULT_BROKER_URL, DEFAULT_CONNECTION_EXECUTOR, DEFAULT_PASSWORD, DEFAULT_PRODUCER_WINDOW_SIZE, DEFAULT_USER, dispatchAsync, password, userName |
Constructor Summary | |
---|---|
ActiveMQXAConnectionFactory()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
java.lang.String |
getBeanName()
|
boolean |
isUseBeanNameAsClientIdPrefix()
|
void |
setBeanName(java.lang.String beanName)
|
void |
setUseBeanNameAsClientIdPrefix(boolean useBeanNameAsClientIdPrefix)
|
Methods inherited from class org.apache.activemq.ActiveMQXAConnectionFactory |
---|
createActiveMQConnection, createXAConnection, createXAConnection, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection |
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.QueueConnectionFactory |
---|
createQueueConnection, createQueueConnection |
Methods inherited from interface javax.jms.TopicConnectionFactory |
---|
createTopicConnection, createTopicConnection |
Methods inherited from interface javax.jms.ConnectionFactory |
---|
createConnection, createConnection |
Constructor Detail |
---|
public ActiveMQXAConnectionFactory()
Method Detail |
---|
@PostConstruct public void afterPropertiesSet() throws java.lang.Exception
java.lang.Exception
public java.lang.String getBeanName()
public void setBeanName(java.lang.String beanName)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public boolean isUseBeanNameAsClientIdPrefix()
public void setUseBeanNameAsClientIdPrefix(boolean useBeanNameAsClientIdPrefix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |