Sophia-

I suggest starting with a single connection per consumer. That model performs 
well for most applications. You can then look to add multiple consumers on top 
of a connection (maybe 4 max) and then look to add additional connections to 
scale consumption.  

-Matt

On Aug 19, 2014, at 2:37 AM, Sophia Wright <sophiawrigh...@gmail.com> wrote:

>> I don’t recommend using the same pool for consumers (especially if you use
> local or XA transactions).  The > benefit is pretty minimal, and it can
> cause issues once you start scaling.
> 
> So should I use different pooled Connection factory for each listener in my
> application ? OR  should I not at all use pooledConnectionFactory ? 
> 
> 
> 
> Thanks,
> Sophia
> 
> 
> 
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/How-to-create-multiple-subscribers-and-producers-in-a-application-tp4684440p4684737.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to