activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <>
Subject [jira] Resolved: (AMQ-268) Queue + Transaction: ordering/redelivery
Date Thu, 15 Jun 2006 04:42:51 GMT
     [ ]
Hiram Chirino resolved AMQ-268:

    Fix Version: 4.0
     Resolution: Fixed

4.0 gives it back to you in the same order.

> Queue + Transaction: ordering/redelivery
> ----------------------------------------
>          Key: AMQ-268
>          URL:
>      Project: ActiveMQ
>         Type: Improvement

>     Versions: 3.1, 3.0
>     Reporter: Paul Smith
>      Fix For: 4.0
>  Attachments:
> [This was posted directly to the mailing list while JIRA was
down, reposting here]
> My understanding is that Queue's are ordered, FIFO things.  We have an interesting scenario
here processing a message from a Queue can periodically cause an error because of local conditions.
 What we'd assumed is that we could get the message out of the queue using transactions, and
should the error processing the message fail, rollback, wait a bit, then go again.  In our
current scenario it is not critical of the ordering, but this has highlighted something that
may be required for a different scenario later on.
> We set this up using ActiveMQ 3.0 and also tested using the latest snapshot, but after
a "failure" (rollback), messages after the failure message get delivered first, and then when
it does get around to redelivering the failure message it  is always the wrong message redelivered.
> we setup a test case to reproduce the scenario.
> Now, this could well highlight a vague area of the spec, or even our programming errors.
 All comments appreciated.
> (see attached test case, with log output you get when you run it, you will see that Message
3 is rolled back, but it redelivers message 2 instead, and only after putting Message 4 &
5 through)
> cheers,
> Paul Smith

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message