users@glassfish.java.net

MDB: Keep message order on redelivery

From: <glassfish_at_javadesktop.org>
Date: Mon, 03 Aug 2009 05:22:43 PDT

We have the business requirement that we process all messages in order.
Therefore, only one Message Driven Bean is allowed to read from a queue at every point in time. We ensure this using a pool with exactly one instance.

But what happens if the message processing fails and the message is redelivered? Are there any, even OpenMQ specific, means to redeliver this message as the first message from this queue in order to keep to message sequence?

Thanks, Jörg
[Message sent by forum member 'jthoennes' (jthoennes)]

http://forums.java.net/jive/thread.jspa?messageID=358596