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 IBM MQ Support » Writing to the Dead Letter Queue using .NET Classes

Post new topic  Reply to topic
 Writing to the Dead Letter Queue using .NET Classes « View previous topic :: View next topic » 
Author Message
Doctor
PostPosted: Fri Dec 10, 2004 11:12 am    Post subject: Writing to the Dead Letter Queue using .NET Classes Reply with quote

Newbie

Joined: 10 Dec 2004
Posts: 4

I want to be able to put a message on the dead letter queue but I have not been able to figure out how to build the MQDLH header using the .NET classes for MQ. Can anyone provide some help or a coding example?
_________________
Bob Hughes
Back to top
View user's profile Send private message
csmith28
PostPosted: Fri Dec 10, 2004 11:22 am    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Actually Bob, the MQManager is the only system entity that should be allowed to PUT Messages on the SYSTEM.DEAD.LETTER.QUEUE and the MQDLQ is used to manage messages one they get there.

What is it exactly that you are trying to accomplish?
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
Doctor
PostPosted: Fri Dec 10, 2004 11:45 am    Post subject: Reply with quote

Newbie

Joined: 10 Dec 2004
Posts: 4

I am working with our MQ administrator to test some rules that are set up in the dead letter queue handler and am trying to test them. There may be a better way to handle this. We do not want to put the rules in production and get unexpected results.
_________________
Bob Hughes
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 10, 2004 11:49 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

What rules are you trying to reproduce? If its a Q full error, fill a Q, if its a 2085 error, send a message to a bogus q name, etc.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Doctor
PostPosted: Fri Dec 10, 2004 11:56 am    Post subject: Reply with quote

Newbie

Joined: 10 Dec 2004
Posts: 4

We have set up a rule to discard messages coming to the DLQ with a destination queue of 'NO.REPLY' I get a 2085 when I try to open this non existent queue so I am not sure how to simulate it. Below is an example of the DLH for one of these messages we are seeing in production.

Structure Identifier : DLH
Version : 1
Reason : 2085
Dest Queue Name : NO.REPLY
Dest QManager Name : CR8516P
Encoding : 546
CodedCharSetID : 437
Format Name : MQSTR
Type of Put application : 6
Put Application Name : amqcrsta_nd
Put Date : 20041127
Put Time : 01210236
Message Text :
BBATCH-ACTMN00010000N
_________________
Bob Hughes
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 10, 2004 11:58 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

QM1 does not have QueueA.
Connect to QM2, send a message to QueueA on QM1, and the message will go to the DLQ went it arrives on QM1, with a 2085.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Doctor
PostPosted: Fri Dec 10, 2004 12:11 pm    Post subject: Reply with quote

Newbie

Joined: 10 Dec 2004
Posts: 4

Peter,

Thanks. I will give you suggestion a try.
_________________
Bob Hughes
Back to top
View user's profile Send private message
csmith28
PostPosted: Fri Dec 10, 2004 12:24 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Thanks Peter,...

I was engaged in a problem.

One of my Prod MQManager Servers Crashed due to a CPU failure. Of course the title of the problem ticket is "MQSeries Failing in Production."

I guess I should count my blessings. At least I can identify this problem.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
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 IBM MQ Support » Writing to the Dead Letter Queue using .NET 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.