Class PooledConnectionFactory

  • All Implemented Interfaces:
    javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.naming.Referenceable, org.apache.activemq.jndi.JNDIStorableInterface, org.apache.activemq.Service

    public class PooledConnectionFactory
    extends org.apache.activemq.pool.PooledConnectionFactory
    Used to create connection pools using our own ConnectionPool subclass. See org.opennms.features.activemq.ConnectionPool for details.
    Author:
    jwhite
    • Field Summary

      • Fields inherited from class org.apache.activemq.pool.PooledConnectionFactory

        POOL_PROPS_PREFIX
      • Fields inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory

        connectionFactory, stopped
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.activemq.jms.pool.ConnectionPool createConnectionPool​(javax.jms.Connection connection)  
      • Methods inherited from class org.apache.activemq.pool.PooledConnectionFactory

        buildFromProperties, getProperties, getReference, newPooledConnection, populateProperties, setProperties
      • Methods inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory

        clear, createConnection, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getBlockIfSessionPoolIsFullTimeout, getConnectionFactory, getConnectionsPool, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActiveSessionPerConnection, getNumConnections, getTimeBetweenExpirationCheckMillis, initConnectionsPool, isBlockIfSessionPoolIsFull, isCreateConnectionOnStartup, isReconnectOnException, isUseAnonymousProducers, setBlockIfSessionPoolIsFull, setBlockIfSessionPoolIsFullTimeout, setConnectionFactory, setCreateConnectionOnStartup, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActiveSessionPerConnection, setReconnectOnException, setTimeBetweenExpirationCheckMillis, setUseAnonymousProducers, start, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.activemq.Service

        start, stop
    • Constructor Detail

      • PooledConnectionFactory

        public PooledConnectionFactory()
    • Method Detail

      • createConnectionPool

        protected org.apache.activemq.jms.pool.ConnectionPool createConnectionPool​(javax.jms.Connection connection)
        Overrides:
        createConnectionPool in class org.apache.activemq.pool.PooledConnectionFactory