Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Get" in "Dead Letter Queue"

Status
Not open for further replies.

FORAND

Programmer
May 26, 2003
64
CA

Hi

I seem to have a problem..... Every time I "get" in a dead.letter.queue i only get the follozing : DLH 
It has to be the Dead Letter Header... but how do i get it out??? The message I get is in my "text_buffer" var (char text_buffer[31000])

I'm using Visual C++.

I would need a code example.

Thanks

Pierre Forand
 
Not sure if you could get a code sample here. I dont have handy with me else would have given it to you.

You need to use MQDLH header to extract this header first which is followed by the actual data.

To view the error code you could look up the values of reason code within the dlh header.



Cheers
KK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top