You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by peetu77 <pe...@gmail.com> on 2019/03/14 06:08:51 UTC

Message FIFO ordering and redelivery

We have use case where message ordering should be preserved also in case of
rollback ie. other messages shouldn't be consumed until failed message
delivered succesfully. We have only one consumer on queue. However
documentation says:

"If a redelivery-delay is specified, Apache ActiveMQ Artemis will wait this
delay before redelivering the messages.

By default, there is no redelivery delay (redelivery-delayis set to 0).

Other subsequent messages will be delivery regularly, only the cancelled
message will be sent asynchronously back to the queue after the delay."

So if redelivery delay is set on brokers side this doesn't work. If delay is
set to 0 can we achieve FIFO ordering? Of course we need to add some delay
on client side if message is redelivered...



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html