activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Mayrbaeurl <>
Subject Strict order of messages with redelivery
Date Thu, 06 Sep 2007 11:29:52 GMT


Our application has to make sure that all consumers with durable topic
subscriptions get messages in strict order even when a message has to be
Publisher puts message 1 to 10 on topic. Consumer opens a session, gets
message 1, makes a client acknowledment, gets message 2, makes a client
acknowledment, and so on. On message 3 a runtime exception occurs and no
client acknowledment is done, but the session and the connection are closed.
The next time the consumer opens a session message 4 gets delivered before
message 3.

What do we have to do to get message 3 (and not 4) as the first message? Do
we have to use a special redelivery policy?

Kind regards

PS: We're using ActiveMQ 4.1.0 
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message