Author |
Message
|
mangoMan |
Posted: Fri Jan 19, 2007 3:40 pm Post subject: About Transactions |
|
|
Acolyte
Joined: 16 Oct 2003 Posts: 69
|
Here is what I have had to design. Two flows, one is the request flow the other the reply flow. Now I wonder if this is the right way to design it. I have a feeling that I can't have subflows connected to the same out as in the request flow "setauditvariables" compute node is connected to an audit subflow and a routing subflow and later the "Transform Data" compute node is connected to to an MQOutput and a compute node. When I debug it, it goes bezerk first the bottom audit runs and then the top one. Any ideas on how this design is flawed. Also, I don't care if the audit completes or not I want the rest of it to keep moving forward. How can I do that? Do I use a flow order node even though I am ok with the two things happening in parallel?
http://home.att.net/~mangoman/request.bmp
http://home.att.net/~mangoman/reply.bmp |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jan 19, 2007 7:08 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
...
What?
... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mangoMan |
Posted: Fri Jan 19, 2007 8:24 pm Post subject: |
|
|
Acolyte
Joined: 16 Oct 2003 Posts: 69
|
Can I have the "out" terminal of any node connected to multiple nodes?
Other words, can one message be sent to multiple compute nodes in parallel?
Yet another way of seeing it, how do message flow transactions work is multiple compute nodes are processing in parallel and one fails?
Can anyone shed some light on the best practices around handling errors and audits for simple request reply flows where if the requester/user of these flows does not get a response it times out.
I hope this will make more sense...... |
|
Back to top |
|
 |
pathipati |
Posted: Fri Jan 19, 2007 9:16 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
Quote: |
Can I have the "out" terminal of any node connected to multiple nodes? |
Yes
Quote: |
can one message be sent to multiple compute nodes in parallel? |
Yes |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri Jan 19, 2007 11:25 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi mangoMan,
You should use a flow order, thus you can gurantee that your routing flow works first each time and that an error in the audit flow does not affect a request from being sent...
For transactions, you can make the request output queue out of transaction, so that anything going wrong in the audit will not affect the requesting...
The audit and error handling's transactions are your decision, based on your requirement...
Regards. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Jan 20, 2007 3:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
pathipati wrote: |
Quote: |
can one message be sent to multiple compute nodes in parallel? |
Yes |
No.
It's not parallel. It's serial. Every node is a procedure, every connection is a procedure call. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|