|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.activemq.jndi.JNDIBaseStorable org.activemq.ActiveMQConnectionFactory org.figure8.join.core.messaging.ConfigurableActiveMQConnectionFactoryBean
public class ConfigurableActiveMQConnectionFactoryBean
This is an extension of ActiveMQ ActiveMQConnectionFactory
that
can be further configured using extra properties provided by a
ActiveMQConfigurator
instance.
ActiveMQConfigurator
Field Summary |
---|
Fields inherited from class org.activemq.ActiveMQConnectionFactory |
---|
brokerContainer, brokerName, brokerURL, cachingEnabled, clientID, copyMessageOnSend, disableTimeStampsByDefault, doMessageCompression, doMessageFragmentation, internalConnection, J2EEcompliant, messageCompressionLevel, messageCompressionLimit, messageCompressionStrategy, messageFragmentationLimit, optimizedMessageDispatch, password, prepareMessageBodyOnSend, quickClose, useAsyncSend, userName |
Constructor Summary | |
---|---|
ConfigurableActiveMQConnectionFactoryBean()
Creates a new instance of ConfigurableActiveMQConnectionFactoryBean |
Method Summary | |
---|---|
javax.jms.Connection |
createConnection(java.lang.String userName,
java.lang.String password)
Create a connection using properties from ActiveMQConfigurator |
void |
setActiveMQConfigurator(ActiveMQConfigurator configurator)
|
Methods inherited from class org.activemq.ActiveMQConnectionFactory |
---|
buildFromProperties, createBrokerConnector, createBrokerContainerFactory, createConnection, createMulticastClientID, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createTransportChannel, createURI, createURI, ensureMulticastChannelIsAvailable, ensureServerIsAvailable, getBoolean, getBoolean, getBrokerContainer, getBrokerContainerFactory, getBrokerContext, getBrokerName, getBrokerName, getBrokerURL, getBrokerXmlConfig, getClientID, getContainer, getEmbeddedBroker, getFactoryStats, getMessageCompressionLimit, getMessageCompressionStrategy, getMessageFragmentationLimit, getPassword, getPrefetchPolicy, getStats, getUserName, getWireFormat, isCachingEnabled, isCopyMessageOnSend, isDisableTimeStampsByDefault, isDoMessageCompression, isDoMessageFragmentation, isInternalConnection, isJ2EEcompliant, isOptimizedMessageDispatch, isPrepareMessageBodyOnSend, isQuickClose, isTurboBoost, isUseAsyncSend, isUseEmbeddedBroker, populateProperties, registerBroker, setBrokerContainerFactory, setBrokerContext, setBrokerName, setBrokerURL, setBrokerXmlConfig, setCachingEnabled, setClientID, setCopyMessageOnSend, setDisableTimeStampsByDefault, setDoMessageCompression, setDoMessageFragmentation, setInternalConnection, setJ2EEcompliant, setMessageCompressionLimit, setMessageCompressionStrategy, setMessageFragmentationLimit, setOptimizedMessageDispatch, setPassword, setPrefetchPolicy, setPrepareMessageBodyOnSend, setQuickClose, setTurboBoost, setUseAsyncSend, setUseEmbeddedBroker, setUserName, setWireFormat, setWireFormat, start, stop, unregisterBroker |
Methods inherited from class org.activemq.jndi.JNDIBaseStorable |
---|
getProperties, getReference, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurableActiveMQConnectionFactoryBean()
Method Detail |
---|
public void setActiveMQConfigurator(ActiveMQConfigurator configurator)
configurator
- Helper for configuring connection factorypublic javax.jms.Connection createConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
ActiveMQConfigurator
createConnection
in interface javax.jms.ConnectionFactory
createConnection
in class org.activemq.ActiveMQConnectionFactory
userName
- Name of user for establishing connectionpassword
- Password of user for establishing connection
javax.jms.JMSException
- if connection cannot be established
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |