You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by fedemoya <fe...@surhive.com> on 2015/10/14 20:45:26 UTC

Messages out of order in a pure static network of two brokers

I'm running two activemq 5.9.0 connected each other via a networkConnector
configured as static bridge (staticBridge=true).

I have also enabled the strictOrderDispatchPolicy in both brokers so i can
have total ordering on my topics. 

Under this configuration and under heavy load sometimes the consumers get
messages out of order, i. e., not in the same order the producer produced
it.

Is this an expected behaviour? Is there a way to guarantee that the
consumers will receive messages in the same order the producer produced it
under a static network of brokers?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Messages-out-of-order-in-a-pure-static-network-of-two-brokers-tp4702968.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Messages out of order in a pure static network of two brokers

Posted by fedemoya <fe...@surhive.com>.
Thanks for the reply Tim!

I have not reproduced this because it happens on the production environment
and on certain days when the load is high. Nevertheless i will try to
reproduce it on a test environment. Also i will try the latest version of
the activemq and see if the problem persist.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Messages-out-of-order-in-a-pure-static-network-of-two-brokers-tp4702968p4703012.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Messages out of order in a pure static network of two brokers

Posted by Tim Bain <tb...@alumni.duke.edu>.
Are you able to reliably reproduce this in a standalone test
configuration?  If so, does the same behavior happen if you change to a
dynamic network?  (That is, does your staticBridge setting actually
contribute to the behavior?)

Tim
On Oct 14, 2015 1:22 PM, "fedemoya" <fe...@surhive.com> wrote:

> I'm running two activemq 5.9.0 connected each other via a networkConnector
> configured as static bridge (staticBridge=true).
>
> I have also enabled the strictOrderDispatchPolicy in both brokers so i can
> have total ordering on my topics.
>
> Under this configuration and under heavy load sometimes the consumers get
> messages out of order, i. e., not in the same order the producer produced
> it.
>
> Is this an expected behaviour? Is there a way to guarantee that the
> consumers will receive messages in the same order the producer produced it
> under a static network of brokers?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Messages-out-of-order-in-a-pure-static-network-of-two-brokers-tp4702968.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>