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 » use of timeout node to start/stop a flow at given time?

Post new topic  Reply to topic
 use of timeout node to start/stop a flow at given time? « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Thu Mar 10, 2011 2:20 pm    Post subject: use of timeout node to start/stop a flow at given time? Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Hello,

is it possible to start and stop a message flow at certain time using timeout nodes? say every midnight?

I have a need to read all logged messages from log queues and write to a file every midnight. However, the timeout notification node can only be configured to run at defined interval from the time the broker is started.

An alternative would be to use a cron job to send a message at every midnight to start a flow to achieve the above, and then stop it, but haven't figured out how.

Has anyone done this or similar?

thanks for sharing your insight!


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
j.f.sorge
PostPosted: Thu Mar 10, 2011 11:49 pm    Post subject: Reply with quote

Master

Joined: 27 Feb 2008
Posts: 218

We are stopping some message flows by using an external application which uses CMP API. This application gets triggered by MQ messages which are sent by an application started with our scheduler.
_________________
IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Mar 11, 2011 2:40 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The JOB control node support pack can also be programmed to do all sorts of nice things.
I use it to control FlowMonitoring where it is difficult to get command line access to the system.

Two simple CRON Jobs would also do the job.
One to start the flow at midnight and the other to (sometime later) stop it.

THere are many other solutions including using a second QMGR and holding all the messages on that until the desired time. Then starting the channel, thus releasing all the messages. Then waiting a minute or so and then stopping it.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
pcelari
PostPosted: Fri Mar 11, 2011 5:21 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Hi j.f.sorge and smdavies99,

thanks so much for sharing these!

I didn't know there are command to start and stop single messageflows. Then it becomes a trivial task to do what I need, and no need to use the timeout node.


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
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 » use of timeout node to start/stop a flow at given time?
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.