In the JMS documentation I read that Message Driven Beans doesn't support CLIENT_ACKNOWLEDGE
mode, only DUPS_OK_ACKNOWLEDGE
and AUTO_ACKNOWLEDGE
.
As I understand it, in AUTO_ACKNOWLEDGE
mode, the message is acknowledged (deleted from the destination) when the onMessage method is invoked. What I want is to tell my broker not to delete messages from the destination (queue or topic) when something bad happens
There must be some way to do this. Anyway, why is CLIENT_ACKNOWLEDGE
not supported in Message Drven Beans.