activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Java Application with multiple publisher/subscriber
Date Sun, 23 May 2010 15:20:20 GMT
On Sun, May 23, 2010 at 4:48 AM, CommendAA <commenda81@gmail.com> wrote:
>
> Hi,
> I'm writing a Java application that implements an ads system, with multiple
> subscriber and multiple subscriber each associated with one topic (argument
> ad). Each publisher/subscriber have to share the same connection or i should
> have to use different connections?

They can all share a connection, but they cannot share a session. Each
JMS client needs a unique session.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message