|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Aggregation not parallel |
« View previous topic :: View next topic » |
Author |
Message
|
Terence |
Posted: Mon Aug 08, 2011 2:20 am Post subject: |
|
|
Novice
Joined: 08 Aug 2011 Posts: 12
|
Hi,
I met a strange problem.
My message flow is dipicted below:
1)There are 2 branches after node 'Aggregate control'.
2) Either branch will call a common subflow.
3. There is a java compute node in the common subflow, the java compute node will print out the thread id.
4) The 'additional instances' of all flows are set 3.
From my test,
1) The common subflow from 2 branches is executed in sequence, not in parallel.
2) The thread id may be different when the Aggregate flow is invoked multiple times.
3) The total thread id number is equals to the 'additional instances'.
From my understanding, the aggregate branch should be executed in parallel, Did I miss something? thanks a lot!
Terence |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 08, 2011 7:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Terence wrote: |
From my understanding, the aggregate branch should be executed in parallel |
No.
Aggregate allows you to send messages to MQOutput nodes. These can then be read from MQInput nodes - which will run in parallel with each other - and they can send back requests that will then get picked up as they come in and can be processed "in parallel" until the aggregation is complete. |
|
Back to top |
|
 |
Terence |
Posted: Tue Aug 09, 2011 2:04 am Post subject: |
|
|
Novice
Joined: 08 Aug 2011 Posts: 12
|
mqjeff wrote: |
No.
Aggregate allows you to send messages to MQOutput nodes. These can then be read from MQInput nodes - which will run in parallel with each other - and they can send back requests that will then get picked up as they come in and can be processed "in parallel" until the aggregation is complete. |
Thank Jeff very much, the MQInput node works for parallel. |
|
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
|
|
|
|