Suspend and Resume JMS delivering a message
843830May 22 2009 — edited Jun 1 2009I have a question in MDB, how to handle when it faces any enviornment issues. In my scnario, MDB performs DB operation and connects to other components to post a message. So if any one of the enviornment is down, i feel that it is unncessary to process other events.
So i have the following question
1. When MDB faces any enviornment issues, is it possible to indicate to JMS Server not to deliver any message. If so, how to resume the operation (Not manually).
2. If option 1 is not possible, Shall i have a while loop in my MDB, which keeps retrying until the enviornment is proper.
Please let me know if any other option is available to handle this issue.