ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Invoking a Message flow

Post new topic  Reply to topic
 Invoking a Message flow « View previous topic :: View next topic » 
Author Message
busy_chap
PostPosted: Thu Oct 08, 2009 11:41 am    Post subject: Invoking a Message flow Reply with quote

Acolyte

Joined: 18 May 2006
Posts: 69

We are planning to design a flow where the flow should run on every 5 mins and connect to a database, extract the data and send it to the second WBI fow.
Here is where I need some help . I was wondering on how do I invoke this WBI flow to connect to a database. Do I need to put a empty input message every 5 mins to invoke the flow to connect to the database?

Has anyone come across this kind of issue before?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 08, 2009 11:53 am    Post subject: Re: Invoking a Message flow Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

busy_chap wrote:
Do I need to put a empty input message every 5 mins to invoke the flow to connect to the database?


Or use a Timer node.

I question the design though. What requirement does this meet?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
busy_chap
PostPosted: Thu Oct 08, 2009 12:02 pm    Post subject: Reply with quote

Acolyte

Joined: 18 May 2006
Posts: 69

Thanks Vitor for your quick response.

The reason for designing such a flow where it has to extract data out of a database every 5 mins is a business requirement because there is a field in the database whose value is set to READY and the wbi flow should extract data with the READY status only and the business has asked to check the data every 5 mins or even less.

By using a timernode , I don't need to send out a input message to the message flow after it's deployed to invoke it then?

The reason why I am being so particular about this is the message flow won't get input messages from any where. It has to start all by itself and connect to the database. Would timer node be the solution for my problem?
Can you please respond?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 08, 2009 12:09 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

busy_chap wrote:
The reason for designing such a flow where it has to extract data out of a database every 5 mins is a business requirement because there is a field in the database whose value is set to READY and the wbi flow should extract data with the READY status only and the business has asked to check the data every 5 mins or even less.


Not how I'd do it, but it's your solution.

busy_chap wrote:
By using a timernode , I don't need to send out a input message to the message flow after it's deployed to invoke it then?


The documentation explains the rules for Timers (and their control/initiation) much more clearly than I could.

busy_chap wrote:
Would timer node be the solution for my problem?


That depends entirely on your exact situation; I don't know your exact requirements. It could be part of the solution, or the whole solution, depending on exactly what you want to do, and how the business want this done. For instance, if the database is down do the business want the data extracted as soon as it's back or on the 5 min schedule?

This is one of those "no right answer" questions. You need to decide what's right for you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
busy_chap
PostPosted: Thu Oct 08, 2009 12:23 pm    Post subject: Reply with quote

Acolyte

Joined: 18 May 2006
Posts: 69

Thanks for your prompt response again. I will check the documentation.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Invoking a Message flow
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.