Author |
Message
|
angka |
Posted: Wed Jan 04, 2006 2:29 am Post subject: Failure node |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi all,
I have a message flow that takes from an input Q and output to several Qs (using the dynamic DestinationList method) . I need to do error handling such that whenever a few of the several output Qs are not reachable, I need to identify them and place an error msg in related Qs. Is there any parameter eg. InputLocalEnvironment.WrittenDestination etc for me to receive the output queue which costs the error? What I mean is I need to know can I identify the various Qs which fail when the msg was being put across? Thank you.
p.s My colleague post this question before but the problem is not solved yet.
Rgds,
Angka |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Jan 04, 2006 3:16 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
I think your colleague had got some answers. Maybe you should try that and then further discuss this problem on the same topic.
Regards. |
|
Back to top |
|
 |
angka |
Posted: Wed Jan 04, 2006 7:39 am Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi elvis_gn,
My colleague and me are working on it but to no avail. Pls help. Thanks.
Rgds |
|
Back to top |
|
 |
JT |
Posted: Wed Jan 04, 2006 4:35 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
Is there any parameter eg. InputLocalEnvironment.WrittenDestination etc for me to receive the output queue which costs the error? |
When the broker is unable to put an out-bound message to a queue, an ExceptionList tree is generated. The queue in error will be identified as an Insert, in the last child element of the tree. I do not know what the ExceptionList tree looks like should the broker fail to put the out-bound message to more than one queue in the list. Should be easy enough to investigate though. |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Jan 04, 2006 10:48 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
When the exception is thrown wont it back out or get thrown, and hence not publish to the rest of the queues in the Destination list.
Will it work in the way below ?
1. If the exception is thrown we'll have to make sure that we handle it before it rolls back before your compute...i.e Put a try catch after the compute and then the output node, so if it fails handle it by sending it to another Failure Queue
2. Send the control back, so that the compute can then Propagate to the next in the list without knowing of the failure.
Regards. |
|
Back to top |
|
 |
premkumar |
Posted: Wed Jan 04, 2006 11:39 pm Post subject: |
|
|
 Apprentice
Joined: 24 Feb 2004 Posts: 40
|
|
Back to top |
|
 |
|