Posted: Wed Jan 21, 2004 8:45 am Post subject: DLQ Handler Application Properties
Chevalier
Joined: 22 Jan 2003 Posts: 429
I would like to have DLQ handler sending the messages to appropriate queues depending on value of application defined property in the message.
For example,
All of messages have tType as one of the properties. tType's value may be A1, A2, A3.
if(tType=A1) send that msg to A1.DeadQ
if(tType=A2) send that msg to A2.DeadQ
if(tType=A3) send that msg to A3.DeadQ
How do I do it? I have seen the patterns is sys-admin guide. It does not seem to have application defined properties.
Do I have to write my own DLQ handler or can I use the existing one?
Joined: 31 Oct 2003 Posts: 92 Location: São Paulo - Brasil
Hello.
Your application needs to supply a DLQH (dead letter queue header structure) and you can use some parameters to build your own dead letter handler. You will build the rules and save it to a file, then you need to run handler specifing the DLQ, QM and the file (rules).
But you can not use tType (???) to program the handler. _________________ Carla Viragh
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