|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DLQ and Vb.net |
« View previous topic :: View next topic » |
Author |
Message
|
sidhusaju |
Posted: Wed May 16, 2007 1:53 am Post subject: DLQ and Vb.net |
|
|
Apprentice
Joined: 03 May 2007 Posts: 27
|
Hi,
Thanks for the reply. I have created a Queue of my own and set that one as the DeadLetterQueue for my Queuemanager. But my doubt is how
I can send the message to DLQ from my vb.net application. In one of the forum they are talking about Dead Letter header and all. Did u have any samples pointing to my requirement.
Regards,
sajayan |
|
Back to top |
|
 |
dgolding |
Posted: Wed May 16, 2007 2:28 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
You're missing the point of Vitors' last post (and you're splitting your topic into two, segmentation is not allowed).
It doesn't matter what queue you use for the DLQ, it is for MQ use only (queue full when receiving a message from another queue manager, that sort of thing). Each message needs a DLH with an MQ reason code, so the DLQ handler can process according to reason code.
On what conditions are you getting a bad message, are they specific to your application? And what do you want to do with bad message once the problem is resolved - throw it away, or re-process it?
What you need is a bad message queue, which is just another queue. If you have any monitoring system in use you would want to check that this queue does NOT contain any messages - if it does, this is an error. |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 16, 2007 2:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I repeat my previous point for further clarity. And because it's now in a separate post....
Whatever queue is defined to the queue manager as a dead letter queue should not be used by any application, but left to the queue manager. They should use an additional queue, preferably referenced by the Backout parameters of the original queue. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|