activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Pechorin <ivan.pecho...@gmail.com>
Subject Re: Various problems using ActiveMQ from C#
Date Mon, 31 May 2010 06:00:33 GMT
On 2010/5/28 Frank Gynnild <frank@gynnild.com> wrote:
> How "cheap" is it to create local session,
> producers and consumers for each thread vs using synchronization to create
> thread safe sessions?

There is no need to create local session, producers and consumers for
EACH thread, you can utilize a thread-safe pool of reusable sessions.
Have a look at Spring.Messaging.Nms.

Mime
View raw message