activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel OConnor <noel.ocon...@gmail.com>
Subject Re: How to create multiple subscribers and producers in a application
Date Thu, 14 Aug 2014 03:25:10 GMT
Sorry I gave you the wrong info, its the SpringJMSTemplate that uses a
connection per message. So use a pooled or cached connection factory
for that.

As for the consumers I don't think you need a pooled/cached connection.

See

http://stackoverflow.com/questions/19560479/which-is-better-pooledconnectionfactory-or-cachingconnectionfactory


On Wed, Aug 13, 2014 at 4:00 PM, Sophia Wright <sophiawright43@gmail.com> wrote:
> Hi,
>
> And how should I use pooledConnection factory.
> Should I use different pooled ConenctionFactory for each listener and
> producer
> or should I use only one pooled connection factory with maxConnection to
> required number.
>
> I can a see a similar thread
> http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-for-durable-subscription-on-broker-restart-td4684381.html
>
>
>
>
> ~ Sophia
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/How-to-create-multiple-subscribers-and-producers-in-a-application-tp4684440p4684504.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message