Author |
Message
|
abs_cal |
Posted: Tue Jul 15, 2008 1:51 pm Post subject: Not getting msg exception list in local error Q |
|
|
Acolyte
Joined: 18 Aug 2005 Posts: 62
|
Here is the problem and looking for some tips..
I have msg flow running in windows env. Catch and error terminal of first MQ Input node connected to a local queue (defined as error queue) to receive error message. Whenever error occurs in flow, Local error Q is only receiving original message without exception list. However, during debug it shows original msg with exception list is going to local error queue. Using Rfh2 I couldn't see the exception list except original message...
Could anyone please tell me where the problem is?
Thank you.. |
|
Back to top |
|
 |
SAFraser |
Posted: Tue Jul 15, 2008 2:21 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
Do. Not. Ever. Triple. Post.
I am not sure why are you expecting anything other than the original message in your error queue? If you want to see the exception list, wire a trace node between your error terminal and your error queue, & print the exception list to a file. |
|
Back to top |
|
 |
abs_cal |
Posted: Tue Jul 15, 2008 5:36 pm Post subject: |
|
|
Acolyte
Joined: 18 Aug 2005 Posts: 62
|
[quote="SAFraser"]Do. Not. Ever. Triple. Post.
I am not sure why are you expecting anything other than the original message in your error queue? If you want to see the exception list, wire a trace node between your error terminal and your error queue, & print the exception list to a file.[/quote]
we want to handle exception in generic way. Therefore, we need exceptionlist and original message in the same queue. |
|
Back to top |
|
 |
abs_cal |
Posted: Tue Jul 15, 2008 5:39 pm Post subject: |
|
|
Acolyte
Joined: 18 Aug 2005 Posts: 62
|
want to handle exception in generic way. Therefore, we need exceptionlist and original message in the same error queue when error occurs in msg flow.. |
|
Back to top |
|
 |
sridhsri |
Posted: Tue Jul 15, 2008 7:34 pm Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
Add a Compute Node before you write the message to the error queue. In this compute node, you may use ASBITSTREAM to convert the exception list tree to a BLOB which can then be converted to a CHAR. You may then append that to the original message and then write it to the error queue. |
|
Back to top |
|
 |
AkankshA |
Posted: Tue Jul 15, 2008 8:58 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
remember exception is like env tree structure and we dont hv this concept in MQ...
MB does not write exception in payload ...
If you want to get exception in message then you have to make an exception/error handling flow and do the needfull... _________________ Cheers |
|
Back to top |
|
 |
AkankshA |
Posted: Tue Jul 15, 2008 10:22 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
|
Back to top |
|
 |
abs_cal |
Posted: Wed Jul 16, 2008 6:21 am Post subject: |
|
|
Acolyte
Joined: 18 Aug 2005 Posts: 62
|
Initially, I was not sure who will be my audience.. |
|
Back to top |
|
 |
|