|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Messages showing up in wrong flow after using a subflow? |
« View previous topic :: View next topic » |
Author |
Message
|
matoh |
Posted: Wed Jun 22, 2005 5:54 am Post subject: Messages showing up in wrong flow after using a subflow? |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Jun 22, 2005 5:57 am Post subject: |
|
|
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 |
|
 |
matoh |
Posted: Wed Jun 22, 2005 6:45 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Jun 22, 2005 6:50 am Post subject: |
|
|
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 |
|
 |
matoh |
Posted: Wed Jun 22, 2005 7:36 am Post subject: |
|
|
Apprentice
Joined: 04 Mar 2005 Posts: 26
|
The xmi:id tags are unique within each .msgflow file, yes. |
|
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
|
|
|
|