I am doing high throughput messaging inside an SM4 container using AMQ 5.2 with the SM4 Kernel and Spring (not using NMR, just plain Spring MessageListenerContainers). Currently I am using the 'PooledConnectionFactory' class from activemq-pool. The code for the default ActiveMQ ConnectionPoolFactory has the following warning:
*
NOTE this implementation is only intended for use when sending
* messages. It does not deal with pooling of consumers; for that look at a
* library like
Jencks such as in
this example *
If you go to the Jencks website they tell you to use the Jencks JCA Connectors for your Message-Driven POJOs. Given that I am using Spring + SM4 but aren't currently using transactions should I still consider using the Jencks + Jencks AMQPool + Geronimo JCA solution for the best possible performance?