Author |
Message
|
mvs |
Posted: Tue Oct 23, 2007 12:38 am Post subject: Start/stop the flows thru external user in message broker |
|
|
Voyager
Joined: 06 Jul 2007 Posts: 85
|
Hi all,
Is there any possibility to stop and start the message flows by the external user (not message broker admin) thru web page or any java programs or message flow to do this?
I mean to say, the user is call center guy or db2 users etc.
The user just gives the particular flow name; execution group name and broker in the request and response stop/start the flow & gives success or failure |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Oct 23, 2007 12:48 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Then what is security aspect over here, if a third person can stop/start the messages flows.
You can able to start/stop the flows remotely by giving previleges. but should not be a good idea at all, according to me
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 23, 2007 12:57 am Post subject: Re: Start/stop the flows thru external user in message broke |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mvs wrote: |
Is there any possibility to stop and start the message flows by the external user (not message broker admin) thru web page or any java programs or message flow to do this?
|
Any user can do this, they just need to be given administrative rights and the command syntax / CMP / java code.
The question is why would they need to? What requirement are you fulfilling? How would you control it? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mvs |
Posted: Tue Oct 23, 2007 3:35 am Post subject: Start/stop the flows thru external user in message broker |
|
|
Voyager
Joined: 06 Jul 2007 Posts: 85
|
Thanks for the updating.
My requirement during week ends or late night people don’t want any processing messages for the particular business scenario. In my case online cashiering issue. The message will be there in queue but the flow should not pick for the particular period.
If one particular execution then we can write some shell scripts and excite them to stop/start the flows. But here the case is different they want only particular message flows.
What I am thinking, if they submit flow name, execution group name and broker name as input message to the queue, message flow should pick the message from the queue and process the request (start/stop).
Regarding security authorized user only can put message to the queue. We are maintaining security at MQ level.
The scenarios
Input node->compute node-> output node
I am not sure what to write in esql code to stop/start the flow
Regards
MVS |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 23, 2007 3:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The only possible thing you could do from ESQL would be to build a PCF message. This would get-disable the input queue of some given flow.
But that assumes all the flows in question are using MQInput nodes exclusively.
Now, if you did MQInput->JavaCompute->MQOutput... then you could do more interesting things, like execute mqsistartstopmsgflows or use the CM Proxy API. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|