My question is still relevant...
How to configure the outbound connection pool = make the JCA Container to use many connections to the ActiveMQ broker for one Message Driven Pojo
I think I have it wrongly configured, this part of my configuration is not referenced in any other bean: <bean id="AMQconnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"/>
<bean id="connectionFactory" class="org.jencks.amqpool.JcaPooledConnectionFactory">
<constructor-arg value="vm://localhost" />
<property name="connectionFactory" ref="AMQconnectionFactory" />
<property name="maxConnections" value="8" />
<property name="maximumActive" value="8" />
<property name="transactionManager" ref="transactionManager"/>
<property name="name" value="LocalBroker"/>
</bean>
So I am actually sure that I can remove it... ActiveMQActivationSpec -> it configures number of sessions per connection... but how to configure the outbound connection pool = make the JCA Container to use many connections to the ActiveMQ broker for one Message Driven Pojo (one queue)
-