|
||||||||||
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.spring.ActiveMQConnectionFactory
public class ActiveMQConnectionFactory
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.
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 | |
---|---|
ActiveMQConnectionFactory()
|
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.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 |
Constructor Detail |
---|
public ActiveMQConnectionFactory()
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 |