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 » why the queues are often hanging

Post new topic  Reply to topic Goto page Previous  1, 2
 why the queues are often hanging « View previous topic :: View next topic » 
Author Message
wschutz
PostPosted: Wed Nov 02, 2005 2:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
Our system received a message which throws a exception error and it's been kept throwing back to the queue for the system to reprocess it.
Technically, we would call this a poisoned message. Your application should check the "backoutcount" in the message descriptor and if its greater than some small number, place the message on an application specific dead letter queue.

There are two fields on the queue itself that can be used by the application program (bothreshold and boqname) to "externalize" these settings. Your program whould have to issue an MQINQ to get these values from the queue.

Have fun.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
bower5932
PostPosted: Wed Nov 02, 2005 7:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Go to:

http://www.developer.ibm.com/isv/tech/sampmq.html

and search the page for backout. You'll find a C and java version of a sample program.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » why the queues are often hanging
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.