Hello!
Any ideas how I can not acknowledge a message from a message driven bean (MDB) so it returns to the queue to be delivered again later???
My intention is to use a queue to store messages, and if the message cannot be processed when it comes off the queue (there is business logic in theMDB that decides if the message has to wait), i want the message to remain on the queue, to be redelivered later.
As I understand, an MDB will auto-acknowledge a message when the onMessage() method completes. By the
J2EE spec, I cant throw an exception from the MDB, so how do I not acknowledge a message so it stays on the queue?
By the way, I am using a queue on
JBoss 3.2.3.
Many thanks for your help,
Paul