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 » Dead Letter Header

Post new topic  Reply to topic
 Dead Letter Header « View previous topic :: View next topic » 
Author Message
fnl
PostPosted: Wed Dec 04, 2002 12:07 pm    Post subject: Dead Letter Header Reply with quote

Newbie

Joined: 20 Jan 2002
Posts: 6
Location: Waterloo, ON.

Hi All,

I am trying to get messages from the SYSTEM.DEAD.LETTER.QUEUE. The type of the reason code in the DLH is defined as MQLONG. How to read this field and convert it to a decimal or string so that it can be displyed?

Thanks,

Fanny.
Back to top
View user's profile Send private message
nimconsult
PostPosted: Wed Dec 04, 2002 11:17 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

MQLONG is a 32-bit signed binary, equivalent to a Java int variable.

So you will read it with the method MQMessage.readInt().

If you want to convert it to a string use the method Integer.toString(int).

Nicolas
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Dead Letter Header
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.