Author |
Message
|
Norm |
Posted: Thu Oct 11, 2007 1:33 pm Post subject: Node that acts like an AND Gate |
|
|
Newbie
Joined: 11 Oct 2007 Posts: 5
|
I have two XML messages from different sources coming in on separate MQInput nodes and I need both messages in order to build the appropriate response message. Is there a node out there that will suit my needs? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 11, 2007 2:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Sounds like a flow control node might help. I'd say aggrigation, but the messages are coming from outside the flow.
Mostly I'd say you need to design the message affinity out of your system!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 11, 2007 2:14 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Flow control will never allow you to join message data on two separate threads - which will always be the case when data comes in on two separate input nodes.
Unless you mean the Collector nodes in v6.1.
In v6.0, you can't do this without using a database, ESQL Shared data, Java shared data, the Cache nodes, or similar. I don't think you can use Aggregation nodes to accumulate data across two separate input messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 11, 2007 11:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jefflowrey wrote: |
Flow control will never allow you to join message data on two separate threads - which will always be the case when data comes in on two separate input nodes. |
Good point.
I still say down with message affinity!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqmatt |
Posted: Fri Oct 12, 2007 3:06 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
jefflowrey wrote: |
Unless you mean the Collector nodes in v6.1. |
There's the answer to the original post. The Collector node has been added in v6.1 to specifically address this requirement. |
|
Back to top |
|
 |
Norm |
Posted: Fri Oct 12, 2007 7:47 am Post subject: |
|
|
Newbie
Joined: 11 Oct 2007 Posts: 5
|
Thanks for the input. I will look into the suggested solutions by jeff for v6.0. I have not heard of a Cache node is it available in the support pack? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 12, 2007 7:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Norm wrote: |
Thanks for the input. I will look into the suggested solutions by jeff for v6.0. I have not heard of a Cache node is it available in the support pack? |
IA91.
You can, I believe, only stash string values. So you'll have to stash the BLOB of the message data. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|