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 » Start/stop the flows thru external user in message broker

Post new topic  Reply to topic
 Start/stop the flows thru external user in message broker « View previous topic :: View next topic » 
Author Message
mvs
PostPosted: Tue Oct 23, 2007 12:38 am    Post subject: Start/stop the flows thru external user in message broker Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Tue Oct 23, 2007 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Oct 23, 2007 12:57 am    Post subject: Re: Start/stop the flows thru external user in message broke Reply with quote

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
View user's profile Send private message
mvs
PostPosted: Tue Oct 23, 2007 3:35 am    Post subject: Start/stop the flows thru external user in message broker Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 23, 2007 3:41 am    Post subject: Reply with quote

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
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 » Start/stop the flows thru external user in message broker
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.