Author |
Message
|
mdapia |
Posted: Fri Mar 01, 2002 4:34 am Post subject: |
|
|
Newbie
Joined: 04 Oct 2001 Posts: 2
|
Any idea about how I can start/stop a message flow without using the Control Center?
For example, is it possible to send a xml message to the MQSI admin/queue , the same than the Control Center issue to start/stop the message flow?
regards,
Manuel DapÃa |
|
Back to top |
|
 |
kolban |
Posted: Fri Mar 01, 2002 7:28 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
If the control message format between the COntrol Center and the Configuration Manager were documented then yes, such a utility could be created. I looked at the IC01 Support Pac which adds a bunch of command line utilities but stop/start of a message flow within an execution group was not included. |
|
Back to top |
|
 |
lillo |
Posted: Wed Mar 06, 2002 8:10 am Post subject: |
|
|
Master
Joined: 11 Sep 2001 Posts: 224
|
but this new features are only supported on WMQI 2.1
Regards, |
|
Back to top |
|
 |
Coz |
Posted: Thu Mar 07, 2002 3:14 am Post subject: |
|
|
 Apprentice
Joined: 20 Feb 2002 Posts: 44 Location: Basel CH
|
A quick way is simply to GET DISABLE the input queue for the flow provided it's a dedicated Queue that is.
Coz |
|
Back to top |
|
 |
kirani |
Posted: Thu Mar 07, 2002 9:44 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
This may not be a good idea because this will log error messages in your event viewer.
You can design your message flow in such a way that your data queue is different than your input queue(control queue). You can start your message flow by running some program which puts dummy message on input queue and then use MQGET node in a loop to get data messages from data queue.
Ultimate solution would be to have commands to start and stop message flows. This will allow users to integrate WMQI with a scheduler like AutoSys.
Regards,
Kiran
|
|
Back to top |
|
 |
Paul D |
Posted: Wed Jul 17, 2002 5:09 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 200 Location: Green Bay Packer Country
|
It's relatively easy to create PCF commands in MQSI to to the get inhibit on the queue. Xephon had a good article in it's October 2001 MQ Update newsletter on how to create a flow to do this. The idea is that a message you design in whatever format to "stop a flow" turns into a PCF get inhibit message. They had the idea to stop a message flow if errors occur within it. This gives a chance for developers to get in and figure out what went wrong before the rest of the messages get processed and just create more failures. Examples are the ODBC database you need for lookups is down. An output queue is full, etc... |
|
Back to top |
|
 |
nr525 |
Posted: Tue Sep 10, 2002 4:30 am Post subject: |
|
|
 Novice
Joined: 16 May 2002 Posts: 15 Location: UK
|
I read with interest the suggestion to inhibit gets on the input queue to a message flow. This is something I have been trying to do but currently I have had no joy. I will certainly try to source these articles but for the time being do you have any sample ESQL avaliable that you would'nt mind posting here.
Thanks in advance
ash |
|
Back to top |
|
 |
|