Author |
Message
|
KittieKat |
Posted: Thu Jan 10, 2002 3:11 pm Post subject: |
|
|
Apprentice
Joined: 17 Dec 2001 Posts: 31
|
Is there any way to schedule a message flow in the control center, so the message flow is running only during certain hours of the day? If the control center doesn't have this option, is there any way at all to schedule a message flow? Thanks so much. |
|
Back to top |
|
 |
kirani |
Posted: Thu Jan 10, 2002 4:35 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Unfortunately, MQSI Control Center does not provide any feature for scheduling message flows. MQSI is designed to process real time messages. You can achieve this by writing an external program, which will trigger message flow by putting messages on its input queue.
You can also make use of 'IA0K - Timer Plug-in' SupportPac to do this. You can download this plug-in from url http://www-4.ibm.com/software/ts/mqseries/txppacs/ia0k.html
Good luck!
Kiran
|
|
Back to top |
|
 |
zpat |
Posted: Fri Jan 11, 2002 2:51 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You could make the queues in question "Get Inhibited" at certain times using a PCF program that's scheduled externally. |
|
Back to top |
|
 |
bh |
Posted: Mon Jan 14, 2002 1:39 am Post subject: |
|
|
Acolyte
Joined: 25 Jun 2001 Posts: 61
|
Depending on the platform where you broker is installed, you can wake up it when you want (for instance, on NT, use the At command, aso.
Good Luck |
|
Back to top |
|
 |
KittieKat |
Posted: Wed Jan 16, 2002 7:56 am Post subject: |
|
|
Apprentice
Joined: 17 Dec 2001 Posts: 31
|
Hi,
Thanks for all your help! I have tried to manually disable the get function on the input queue and that works pretty well. The only problem is that everytime I want to shut down the message flow, I have to do it manually from the Command Window (on a Solaris box). Zpat talked about a PCF program, I'm not sure what it is, could you give me an example? Thanks alot.
-Alison
|
|
Back to top |
|
 |
zpat |
Posted: Wed Jan 16, 2002 9:59 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
PCF or programmable command format, is a way to control the queue manager by sending it messages. It's all in the manuals. You can find a sample Java PCF program in the free back issues of MQ Update at http://www.xephon.com
Another way to stop a flow is to issue the same small XML message that MQSI does to the admin queue of the broker. However you need to get the UID of the flow somehow and this is an undocumented method whereas as PCF is supported. |
|
Back to top |
|
 |
|