ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » How to stop MDP (Spring) when message processing fails

Post new topic  Reply to topic
 How to stop MDP (Spring) when message processing fails « View previous topic :: View next topic » 
Author Message
j.f.sorge
PostPosted: Thu Sep 30, 2010 5:19 am    Post subject: How to stop MDP (Spring) when message processing fails Reply with quote

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
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 30, 2010 6:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

For it to stop on a poison message set the MDP retry <= bothresh.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
j.f.sorge
PostPosted: Tue Oct 05, 2010 11:32 pm    Post subject: Reply with quote

Master

Joined: 27 Feb 2008
Posts: 218

fjb_saper wrote:
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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to stop MDP (Spring) when message processing fails
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.