Author |
Message
|
gareththomas |
Posted: Wed Dec 06, 2006 4:59 am Post subject: Does MQ have a general DLQ handler mechanism? |
|
|
Newbie
Joined: 06 Dec 2006 Posts: 3 Location: UK
|
Hi,
I am working with an exisiting application that sends one message to a queue. The current consumer of this message is being replaced and as part of this I would like to take this message and transform it's content to create two new messages and send these to other queues to be processed by two new apps.
This is not a DLQ but I seem to recall MQ having something like the DLQ handler that could be used for this instead of writing an external app to do this. Much appreciated if you could point me in the direction of a documentation topic.
Thanks,
Gareth |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 06, 2006 5:01 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You mean other than the predefined Dead Letter Handler, that is fully documented in the System Administration Guide? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
gareththomas |
Posted: Wed Dec 06, 2006 5:16 am Post subject: |
|
|
Newbie
Joined: 06 Dec 2006 Posts: 3 Location: UK
|
jefflowrey wrote: |
You mean other than the predefined Dead Letter Handler, that is fully documented in the System Administration Guide? |
Maybe, maybe not. Is the dead letter hander the generic handler mechanism I'm thinking of? ie. can a Dead letter handler be used on any queue to process and resend messages to other queues?
Gareth |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 06, 2006 5:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you need to duplicate a message, you can go the long way around and use the mirrorq sample exit.
If you need to transform a message, you need an application to do this. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 06, 2006 5:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
gareththomas wrote: |
can a Dead letter handler be used on any queue to process and resend messages to other queues? |
The dead letter handler assumes the messages will have a dead letter header so it's not applicable for non-dead messages. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gareththomas |
Posted: Wed Dec 06, 2006 5:26 am Post subject: |
|
|
Newbie
Joined: 06 Dec 2006 Posts: 3 Location: UK
|
jefflowrey wrote: |
If you need to transform a message, you need an application to do this. |
ok, thanks. Looks like an application it is then. |
|
Back to top |
|
 |
|