|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Dead Letter Q Headers |
« View previous topic :: View next topic » |
Author |
Message
|
Gopi |
Posted: Wed Jun 05, 2002 7:49 am Post subject: Dead Letter Q Headers |
|
|
Novice
Joined: 23 May 2002 Posts: 18
|
Can anybody tell me how to calculate the dead letter Q Header? information for a message on Dead Letter Q?
I have downloaded the deadletterhandler.c program from captialware, in that program everything is fine, when copying the data from buffer to newbuffer, we are eliminating the first 172 chars. So does it mean that every message on the deadletter Q have 172 chars of dead letter header information? If that is the case, how can i calculate the other header informations like TransmissionQ header...information for a meaasage on Tran Q?
Thanks,
Gopi. |
|
Back to top |
|
 |
jhalstead |
Posted: Wed Jun 05, 2002 8:53 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
|
Back to top |
|
 |
mrlinux |
Posted: Wed Jun 05, 2002 9:40 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
if you need to find size info you could use the C keyword sizeof
example
printf("Size = %d bytes\n",sizeof(MQDLH)); // Dead Letter
printf("Size = %d bytes\n",sizeof(MQXQH) //Xmit Queue Header
see cmqc.h for struct names _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Gopi |
Posted: Wed Jun 05, 2002 6:32 pm Post subject: |
|
|
Novice
Joined: 23 May 2002 Posts: 18
|
Hi Guys,
ThankQ..
I appreciate your time & help..
Gopi |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|