Posted: Mon Dec 09, 2002 12:37 pm Post subject: Writing to dead letter queue using MQ base java classes.
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.
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 <><
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