|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Strange problem: Looping the subflow |
« View previous topic :: View next topic » |
Author |
Message
|
au@kosa |
Posted: Tue Apr 03, 2007 3:19 am Post subject: Strange problem: Looping the subflow |
|
|
 Centurion
Joined: 04 Jan 2007 Posts: 103 Location: pune
|
Hi masters,
I need some help here
My flow looks like this
MQInput->C.N1->C.N2->AggSubflow->C.N3->MQOutput
1. I am retieving 4 ids from a application in a flow.
2. I am creating new mesg and polulating one of the field of the new message and sending it to subflow.
3. The sub flow consists of fan out and fan in part of the aggregation
4. I am looping back the output of the C.N3 to the to C.N2, to send the next new message.
5. I am using shared variables to keep the counter and total number of messages i need to processed.
6. IN C.N1 i am initializing the shared variable.
My problem is the the flow is showing me incosistant behaviour. I put trace nodes and different places. What i found is, the messages some time disappeared before output Node of the subflow.
My QUESTION: How good is the idea of looping the subflow, specially when a flow contains both the fnaout and fanin flows of aggregation. _________________ Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate |
|
Back to top |
|
 |
au@kosa |
Posted: Tue Apr 03, 2007 4:36 am Post subject: |
|
|
 Centurion
Joined: 04 Jan 2007 Posts: 103 Location: pune
|
Hello Masters,
Do you need some more inputs to elaborate the problem. Am i missing some thing. Please suggest me, if you feel i should change the design. _________________ Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 03, 2007 6:02 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So you're trying to do several different aggregations inside the same flow?
Like, Input Msg->(break into pieces)->
Part1->Aggregate Request->AggregateReplies
Part2->Aggregate Request->AggregateReplies
Part3->Aggregate Request->Aggregate Replies
...
PartN->AggregateRequest->AggregateReplies->output?
Complicated.
In terms of "messages sometime disappear before output node of subflow"... that's an indication that something is wrong with the subflow in certain conditions.
But yes, without more detail, I can't be more specific about what. Possibly you're forgetting to RETURN TRUE somewhere. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
au@kosa |
Posted: Tue Apr 03, 2007 10:28 pm Post subject: |
|
|
 Centurion
Joined: 04 Jan 2007 Posts: 103 Location: pune
|
Thanks Jef,
I solved the problem by elimiating the subflow concept. Now i have attached th Fan out the the main flow. For loop back i am using propagate to label at the end of Fan in(replacing pyhisicaly wiring back) . Now, it is working as expected.
Still i guess, there is something wrong with looping back the Subflow (in my case Agg Fan out, fan in). It is giving my in consistant behaiour. I poked my head for nearly a day, then i redesigned the flow.
Probably, i need to catch some one from Hursley lab to find if it is a existing problem. _________________ Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|