|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Start or stop a msgflow by esql code |
« View previous topic :: View next topic » |
Author |
Message
|
somsayan |
Posted: Thu Aug 13, 2009 2:13 am Post subject: Start or stop a msgflow by esql code |
|
|
Apprentice
Joined: 06 Apr 2007 Posts: 49
|
I got the uuid of all the msgflow deployed in a particular execution grp from BROKERRESOURCES table. Can i create a control message & send it to system queue to start or stop a particular msgflow. When we issue mqsistartmsgflow, there must be some message put to the system queue.
If same can be generated from the code & put it to system queue, we can get the same result. Can anyone have any idea on the same. |
|
Back to top |
|
 |
nvenkatesh |
Posted: Thu Aug 13, 2009 11:18 pm Post subject: |
|
|
Apprentice
Joined: 29 Jan 2007 Posts: 45
|
somsayan wrote: |
When we issue mqsistartmsgflow, there must be some message put to the system queue |
You are correct. You can find the format of that control message in a test machine by "get inhibiting" the "system queue" you were talking about, running the mqsistartmsgflow command and browsing that message at an appropriate time when the broker is not running.
Note:
somsayan wrote: |
Can i create a control message & send it to system queue to start or stop a particular msgflow |
Yes we can perfectly do that technically. But please be aware that IMO, what you are doing is some kind of reverse engineering and "making use of the product in a way which is not intended to" and *may* make your support and licence for the product void. When reading the licence what I understood is that those "system queues" are to be used only by the MB components like mqsicommands,etc and not by any other external programs. This is completely my opinion as I cant understand the license agreement clearly and anyone can correct me if I am wrong. |
|
Back to top |
|
 |
Luke |
Posted: Thu Aug 13, 2009 11:56 pm Post subject: |
|
|
Centurion
Joined: 10 Nov 2008 Posts: 128 Location: UK
|
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 14, 2009 5:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nvenkatesh wrote: |
When reading the licence what I understood is that those "system queues" are to be used only by the MB components like mqsicommands,etc and not by any other external programs. This is completely my opinion as I cant understand the license agreement clearly and anyone can correct me if I am wrong. |
I don't know about license, but I think using the SYSTEM queues in this way is unsupported. It's also risky in that the behaviour of such things is not guaranteed to stay the same between versions & levels, so you could come unstuck without warning. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|