Posted: Thu Sep 30, 2010 5:19 am Post subject: How to stop MDP (Spring) when message processing fails
Master
Joined: 27 Feb 2008 Posts: 218
Hello!
We had an J2EE application running on WAS 6.0 with MDB and internal listener process. This process stopped after a RuntimeExecption has been thrown by onMessage() method and retry counter was too high.
How can we configure a MDP (javax.jms.MessageListener) so that it will stop, too?
Thanks in advance! _________________ IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
For it to stop on a poison message set the MDP retry <= bothresh.
For me it is clear where to set the bothresh but I don't know where to set the retry interval for / on the MDP? I only saw the option when using a WebSphere Listener combined with a MDB. _________________ IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum