I am using ActiveMQConnectionFactory to create connection. i am creating only one connection. I am having many threads running under this single connection creating session and producer (each thread would have its own session and producer).
My question is: If i am using only one connection then should I use connection pooling (PooledConnectionFactory) or should stick with ActiveMQConnectionFactory. Can anyone please also explain difference between these two (probably in basic terms as I am still on learning curve in activemq).
Thanks.!