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 » General Discussion » Writing to dead letter queue using MQ base java classes.

Post new topic  Reply to topic
 Writing to dead letter queue using MQ base java classes. « View previous topic :: View next topic » 
Author Message
gayatri_laungani
PostPosted: Mon Dec 09, 2002 12:37 pm    Post subject: Writing to dead letter queue using MQ base java classes. Reply with quote

Newbie

Joined: 09 Dec 2002
Posts: 4

Hi All,

My application needs to write to the system dead letter queue. It is recommended, in the MQSeries documentation, to add MQDLH(the Dead Letter Header) to every message that needs to go the dead letter queue. I'm just unable to figure out how to write this header to my message.

Can anyone help?

I'm using MQSeries 5.2 and MQ base java classes, not JMS.

Thanks!
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Mon Dec 09, 2002 10:33 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

When you assemble the complete DLQ header, paste it into the application data part of your message (at the very begining). In the Format field in the MQMD put a value of MQFMT_DEAD_LETTER_HEADER (or something like that - consult manuals, as I'm writing from memory)
_________________
Marcin Grabinski <><
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 » General Discussion » Writing to dead letter queue using MQ base java classes.
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.