Posted: Thu Dec 07, 2006 3:39 pm Post subject: Exception Handling in PUB message flow
Apprentice
Joined: 29 Jan 2004 Posts: 35
I have developed a msg flow which can publish msgs based on Topics. I am not sure how to handle if say for some reason subscription queue has been deleted and the publication msgs must end up in a Error queue.My flow is sending publication msgs to a dead letter queue for any kind of issues or error's.Can any one suggest me how to handle exceptions in pub msg flow to send msgs to a error queue.
Thanks.
Which type of exceptions you are expecting from your message flow?
In Pub/Sub interactions Publisher does't know anything about Subscribers so if a Subscription Queue is deleted it does't matter anything for the Publisher(msg flow).
Although a Publisher can request a report from the Broker on the status of the publication. _________________ I am *not* the model of the modern major general.
By specifying a replytoqueue on your publication message.
But that will only tell you if your publish was succesful. As the model implies it has absolutely no information on subscribers....
_________________ MQ & Broker admin
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