activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: subscription dispatching
Date Tue, 04 Dec 2012 09:44:10 GMT
Hi Christian,

I think this shouldn't happen as message on its arrival goes to every
subscription and then is dispatched from there. So if messages arrive
in the same order in the topics they should later on be dispatched in
that same order.

Dejan Bosanac
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: @dejanb
ActiveMQ in Action:

On Mon, Dec 3, 2012 at 7:40 PM, Christian Posta
<> wrote:
> So I think this is how it works, but looking for a quick clarification.
> I have a producer to Topic FOO. I have a different producer on a different
> connection to Topic BAR.
> I have two consumers A and B. Both on separate connections. They both
> subscribe to the same composite destination topic://FOO,topic://BAR
> Is it possible for the ordering of the messages as seen by A to be
> different than B?
> From what I understand, the answer is Yes.
> Scenario:
> FOO dispatches "aaa" message to A
> BAR dispatches "ccc" message to A
> FOO gets busy dispatching to other subs it might have
> BAR dispatches "ccc" to B
> FOO finally dispatches "aaa" to B
> Then consumer A would have seen "aaa" "ccc"
> Consumer B would have seen "ccc" "aaa"
> Is this correct?
> --
> *Christian Posta*
> twitter: @christianposta

View raw message