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 extract the 'Reason' field from deadletter Q message?

Post new topic  Reply to topic
 How to extract the 'Reason' field from deadletter Q message? « View previous topic :: View next topic » 
Author Message
d
PostPosted: Fri Jun 07, 2002 1:36 am    Post subject: How to extract the 'Reason' field from deadletter Q message? Reply with quote

Apprentice

Joined: 24 May 2002
Posts: 25

Hi,

I'm retrieving the messages that have arrived in the deadletter queue. I have separated the dead letter handler and the message data. I need to extract the 'Reason' field from the dead letter header of the message...How do I get it through java ????

Thanks in advance,
deepa
Back to top
View user's profile Send private message
bduncan
PostPosted: Mon Jul 01, 2002 1:08 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Well, if you actually have the Dead Letter Header (MQDLH) separated out, then you've already taken care of the hard part.
There should be a variable in the DLH object called "reason" which contains the reason why the message ended up on the dead letter queue.
This link describes the contents of the Dead Letter Header:
http://www-3.ibm.com/software/ts/mqseries/library/manualsa/csqzak05/csqzak0513.htm#HDRMQDLH
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to extract the 'Reason' field from deadletter Q message?
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.