Author |
Message
|
Abhinay185127 |
Posted: Wed Jul 31, 2013 1:34 am Post subject: Reg : Resequence |
|
|
Acolyte
Joined: 20 May 2013 Posts: 58
|
Hi I have flow like this
MQ Input (Out terminal) --- Resequence Node --- Subflow
MQ Input (Catch terminal) --- Exception Handler
Inside subflow
Input Terminal --- Compute --- File Output Node.
I have a query.
First when an error occurs inside the subflow in compute node(parsing error) it goes back to the resequemce node and infinite loop starts where it keeps on sending the same message and same parsing error is thrown from compute.
My understanding was that it should go to the catch terminal of MQ Input and from there gats logged with exception handler. But this is not happening can you please give your views. I even connected the catch and failure of Resequence node to exception handler but still it doesn't helps. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jul 31, 2013 3:14 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Its not going back to the resequence node, it is likely getting pushed out to the input queue then re-read from the input queue again because you have not set retry count on your queue definition and back-out threshold. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Abhinay185127 |
Posted: Wed Jul 31, 2013 4:15 am Post subject: |
|
|
Acolyte
Joined: 20 May 2013 Posts: 58
|
I connected the catch terminal of resequence node to a queue. Its working now.
The message some how is getting held at resequence its not reading it again and again from input queue.
One more query inside the compute they are various fileds which i am appending using Delimeters and then converting the whole message into BLOB and sending it to file.
Out of the various fileds(timestamp,service etc) one field is message which contains actual inputbody. I am using a COALESC function where incase the message is not there it should give 'Payload Unavailable'. Now in the debugger mode it clearly shows that the message is going inside the compute with header and body both but in the file everytime 'Payload Unavailable' comes.
Its not reading it can someone let me know where i am going wrong. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jul 31, 2013 4:18 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Abhinay185127 wrote: |
I connected the catch terminal of resequence node to a queue. Its working now. |
Do you consider this the solution or a work-around? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Abhinay185127 |
Posted: Wed Jul 31, 2013 4:51 am Post subject: |
|
|
Acolyte
Joined: 20 May 2013 Posts: 58
|
Its sort of a workaround that is solving the problem. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jul 31, 2013 5:02 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Abhinay185127 wrote: |
Its sort of a workaround that is solving the problem. |
Alleviating the symptom by hijacking the error propagation does not solve the problem, it just masks the fact that your queue definition is incomplete. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Abhinay185127 |
Posted: Wed Jul 31, 2013 5:06 am Post subject: |
|
|
Acolyte
Joined: 20 May 2013 Posts: 58
|
Hi lancelotlinc,
I have alraedy taken your suggestion and defined a backout queue along with retry count. Its just that i have also connected resequence catch to another queue.
Thanks for help and advice.  |
|
Back to top |
|
 |
|