Author |
Message
|
vasanthi |
Posted: Thu Mar 30, 2006 4:59 pm Post subject: triggering a message flow |
|
|
Apprentice
Joined: 23 Apr 2005 Posts: 42
|
hi all
i am having a sitution in message flow. there are two flows .one flow picks up a message and writes the data into a database.
once that record is written into the database then my second flow should start processing the messages in its queue.if the record is not available in the database the second message flow should not start processing.how can this be done.
Thanks
vasanthi |
|
Back to top |
|
 |
wschutz |
Posted: Thu Mar 30, 2006 5:16 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
If you are using Broker V6, you can use a MQGet node:
1. MQInput node gets the first message
2. DB node inserts the record
3. MQGet node gets the second message ... (assuming a different queue than the MQInput node). _________________ -wayne |
|
Back to top |
|
 |
vasanthi |
Posted: Fri Mar 31, 2006 5:48 am Post subject: |
|
|
Apprentice
Joined: 23 Apr 2005 Posts: 42
|
hi
thanks for the reply.i am using broker v5. can you elaborate a little bit on the design you have mentioned and how the MQGet node works.
thanks
vasanthi |
|
Back to top |
|
 |
madi |
Posted: Fri Mar 31, 2006 7:43 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
i dont think there is an MQGet node in v5.0.
I use a custom timer node to trigger the flows every minute or something and see if the record is written. If it is, then you can trigger the other flow.
i dont think there is a timer node or something like it in v5 though.
--madi |
|
Back to top |
|
 |
wschutz |
Posted: Fri Mar 31, 2006 10:54 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
There was a Cat 2 supportpac for the MQGet node for MQSI V2.1, but it was never ported to V5. Timeout nodes only appear in V6 of Broker. _________________ -wayne |
|
Back to top |
|
 |
Duke |
Posted: Sun Apr 02, 2006 10:10 pm Post subject: |
|
|
 Apprentice
Joined: 09 Mar 2004 Posts: 49 Location: Belgium
|
Hello,
I have ported the MQGet support pack to V5 following the migrate note. And it works fine. _________________ Pierre Richelle
Engineer
IBM Certified MQSeries Developper V5.3
IBM Certified WMQ Administration V6 |
|
Back to top |
|
 |
|