2 Replies Latest reply on Feb 14, 2012 4:35 AM by Andrey Johnson

    Redelivery order when using delay

    Andrey Johnson Newbie



      What is the expected order (if any) of redelivered messages when using a redelivery delay?


      Eg, rollback called on all of MSG1, MSG2, MSG3. Will the messages be redelivered in that same order, opposite order or just randomly?


      Background is that we have multiple consumers and want to use a delay on redelivery (eg. 2 seconds), while still guarantee the order (within the same group). So if MSG1 rolls back and goes to redelivery, we're thinking to do rollback on MSG2 and MSG3 as well, but then we need to rely on the order of redeliveries.