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 » Messages showing up in wrong flow after using a subflow?

Post new topic  Reply to topic
 Messages showing up in wrong flow after using a subflow? « View previous topic :: View next topic » 
Author Message
matoh
PostPosted: Wed Jun 22, 2005 5:54 am    Post subject: Messages showing up in wrong flow after using a subflow? Reply with quote

Apprentice

Joined: 04 Mar 2005
Posts: 26

Has anyone else had this problem:

I've got two flows in which I have factored out some common functionality (doing a lookup agianst a separate service by splitting off a separate query, and then joining the reply with the original message) into a separate subflow.

So in flow A I've got:
Tracenode A1 -> Subflow SF -> Tracenode A2

And in flow B I've got:
Tracenode B1 -> Subflow SF -> Tracenode B2

Serparate flows in the same project. Lot of copying and pasting between the flows during development.


However, after deploy I've got messages going A1-> SF -> B2, or B1 -> SF -> A2.

Isn't subflows intended for uses like the above, or what else might I have done wrong?
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jun 22, 2005 5:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are all of the trace nodes writing to the same location (file, etc) or different locations?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
matoh
PostPosted: Wed Jun 22, 2005 6:45 am    Post subject: Reply with quote

Apprentice

Joined: 04 Mar 2005
Posts: 26

I use the "one flow, one tracefile" principle, and write the name of the trace node in the trace pattern. And yes, I've checked that the filenames and patterns are correct. (Opened the flow definitions in text mode, and searched for flow A's logfile name in flow B, and vice versa.)

I've tested a bit more, and I've also got messages jumping within a flow. I.e, where I've got:

Flow A
TraceNode A1 -> Subflow SF -> Tracenode A2
TraceNode A3 -> Subflow SF -> Tracenode A4
TraceNode A5 -> Subflow SF -> Tracenode A6
TraceNode A7 -> Subflow SF -> Tracenode A8

Flow B
TraceNode B1 -> Subflow SF -> Tracenode B2

A message entering through A1 can show up at A2, and if I resend it it shows up at A6, resend it again and it shows up at B2...
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jun 22, 2005 6:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Do the tracenodes have unique ids in the flow xml file?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
matoh
PostPosted: Wed Jun 22, 2005 7:36 am    Post subject: Reply with quote

Apprentice

Joined: 04 Mar 2005
Posts: 26

The xmi:id tags are unique within each .msgflow file, yes.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Messages showing up in wrong flow after using a 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.