Hi Claus, I'm using the ActiveMQ connection factory:

        <bean id="amq-cf" class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL"
                        
value="failover:(nio+ssl://host1,nio+ssl://host2.....8)" />
                <property name="userName" value="${activemq.username}" />
                <property name="password" value="${activemq.password}" />
        </bean>
        
        
        <bean id="amq-pcf" 
class="org.apache.activemq.pool.PooledConnectionFactory"
init-method="start" destroy-method="stop">
                <property name="connectionFactory" ref="amq-cf" />
                <property name="maxConnections" value="8" />
                <property name="maximumActive" value="500" />
        </bean>

        <bean id="amq"
class="org.apache.activemq.camel.component.ActiveMQComponent">
                <property name="connectionFactory" ref="amq-pcf" />
                <property name="transacted" value="true" />
                <property name="cacheLevelName" value="CACHE_CONSUMER" />
        </bean>



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Validating-Connection-Pools-and-Counting-of-Connections-tp4656868p4656933.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to