activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] [Closed] (AMQ-2780) ActiveMQ not preserving Message Order
Date Fri, 01 Jul 2011 19:32:28 GMT


Timothy Bish closed AMQ-2780.

    Resolution: Not A Problem

The priority message order in JMS is best attempt and not a guarantee that all messages will
be ordered.  In some cases depending on when the message was sent and how fast the consumer
is messages can and will arrive out of priority order.

> ActiveMQ not preserving Message Order
> -------------------------------------
>                 Key: AMQ-2780
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: Windows XP, JDK 1.6.0_07
>            Reporter: Ryan Rolland
>            Assignee: Rob Davies
>            Priority: Critical
>             Fix For: 5.6.0
>         Attachments:,,
> I believe I have found a bug in message order delivery in ActiveMQ. I have taken the
example benchmark consumer and producer programs and made the following modifications:
> 1)	Added a counter to keep track manually of the message order.
> 2)	Made the transmitted number of bytes per message random between 1 and 64 bytes.
> 3)	Added a random delay between 1 and 10 seconds triggered after every 100000 messages
transferred on the publishing side.
> After running for a few minutes I begin to see violations in the message delivery order.
In my most recent run I have counted 54 violations over the course of an hour.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message