ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Strange problem: Looping the subflow

Post new topic  Reply to topic
 Strange problem: Looping the subflow « View previous topic :: View next topic » 
Author Message
au@kosa
PostPosted: Tue Apr 03, 2007 3:19 am    Post subject: Strange problem: Looping the subflow Reply with quote

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
View user's profile Send private message Yahoo Messenger
au@kosa
PostPosted: Tue Apr 03, 2007 4:36 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Apr 03, 2007 6:02 am    Post subject: Reply with quote

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
View user's profile Send private message
au@kosa
PostPosted: Tue Apr 03, 2007 10:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Strange problem: Looping the subflow
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.