Hello,
Here is my problem:
I use
Java Message Service 1.0.2 Reference Implementation.
I have container managed MDB. If application cannot process message in
onMessage method it calls setRollBackOnly() method to return message
to MQ. But container imidiatly calls again onMessage() method and
deliver that message. As application is still unable to process that
message (waiting for some event to happend) it returns message back to
MQ.
Questions are:
1. How can I force the redelivery of a rolled back JMS message to
happen in a few minutes instead of immediately?
2. What happens with message when max number of attempts exides? How
can I get that message after that? It seems to me as if they
disappear.
3. Is it possible to set the redelivery delay time or error
destinations in JMS 1.0.2 Reference Implementation or in Sun ONE
Message Queue Version 3.0?
Thanks for any help