Home » activemq-parent-5.3.1-source-release » org.apache » activemq » camel » component » [javadoc | source]
org.apache.activemq.camel.component
public class: ActiveMQConfiguration [javadoc | source]
java.lang.Object
   org.apache.camel.component.jms.JmsConfiguration
      org.apache.activemq.camel.component.ActiveMQConfiguration
Constructor:
 public ActiveMQConfiguration() 
Method from org.apache.activemq.camel.component.ActiveMQConfiguration Summary:
createConnectionFactory,   createPooledConnectionFactory,   createTransactionManager,   getBrokerURL,   getPassword,   getTransactionManager,   getUserName,   isUsePooledConnection,   isUseSingleConnection,   loadClass,   setActiveMQComponent,   setBrokerURL,   setPassword,   setUsePooledConnection,   setUseSingleConnection,   setUserName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.camel.component.ActiveMQConfiguration Detail:
 protected ConnectionFactory createConnectionFactory() 
 protected ConnectionFactory createPooledConnectionFactory(ActiveMQConnectionFactory connectionFactory) 
 protected PlatformTransactionManager createTransactionManager() 
    Factory method to create a default transaction manager if one is not specified
 public String getBrokerURL() 
 public String getPassword() 
 public PlatformTransactionManager getTransactionManager() 
 public String getUserName() 
 public boolean isUsePooledConnection() 
 public boolean isUseSingleConnection() 
 public static Class<?> loadClass(String name,
    ClassLoader loader) throws ClassNotFoundException 
 protected  void setActiveMQComponent(ActiveMQComponent activeMQComponent) 
 public  void setBrokerURL(String brokerURL) 
 public  void setPassword(String password) 
    Sets the password/passcode used to login to ActiveMQ
 public  void setUsePooledConnection(boolean usePooledConnection) 
    Enables or disables whether a PooledConnectionFactory will be used so that when messages are sent to ActiveMQ from outside of a message consuming thread, pooling will be used rather than the default with the Spring JmsTemplate which will create a new connection, session, producer for each message then close them all down again.

    The default value is false by default as it requires an extra dependency on commons-pool.

 public  void setUseSingleConnection(boolean useSingleConnection) 
    Enables or disables whether a Spring SingleConnectionFactory will be used so that when messages are sent to ActiveMQ from outside of a message consuming thread, pooling will be used rather than the default with the Spring JmsTemplate which will create a new connection, session, producer for each message then close them all down again.

    The default value is true so that a single connection is used by default.

 public  void setUserName(String userName) 
    Sets the username to be used to login to ActiveMQ