vincent...@fmr.com
unread,Apr 11, 2008, 1:20:47 PM4/11/08You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have a Java Enterprise application that uses Websphere 5.1.1.11's MDB/MQ listener ports. We are receiving messages and processing them. In my app, I use the MesageDrivenContext.setRollbackOnly() method to attempt the message X number of times, then shut down the listener port / rollback any messages that are "FATAL". FATAL messages include ones that encounter issues such as our database being down, etc. <br />
<br />
However, there is an ongoing worry that a particular poison message will come in that will "appear" to encounter a database down error, but not truly encounter one. In this case it could be an endless loop of attempts for failing, shutting down the ports, then manually bringing up the listener ports, and continuing to fail this message, with no options for getting it out of the queue.<br />
<br />
What is the standard for handling potential items like this? Is there an "error queue" mechanism of some kind that can be used within Websphere? Or some kind of maximum retry logic (I know there is a maximum retry field, but that is currently used to attempt a message that number of times till it shuts down the port. What we need is a "total maximum retry" field of some kind). Please let me know if anyone has ideas on this, and my apologies in advance if I've missed this somewhere. Also let me know if more info is needed; I know I've been vague on things.