Author |
Message
|
sarathmattam |
Posted: Mon Jan 12, 2009 4:19 am Post subject: Status of Message Flows |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
Dear All,
I have one query regarding "checking the status of message flows". I have one EG and 5 flows are deployed in it. Out of that only 3 are running. How will i find out the names of the flows which are not running?? As per my knowledgre mqsilist BROKERNAME -e EG will give all the deployed flows.
I want to incorporate in a shell script . SO any commands to find out the same will be of great help to me ..
Thanks a lot in advance
Regards,
Sarath |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jan 12, 2009 2:43 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The toolkit proxy will give you the information you are looking for.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sarathmattam |
Posted: Mon Jan 12, 2009 8:30 pm Post subject: |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
Thanks for the reply ..
But i am creating a shell script for checcking the status of the message flows. So Can you provide any commands which helps me to achieve this?
Regards,
Sarath |
|
Back to top |
|
 |
j.f.sorge |
Posted: Mon Jan 12, 2009 11:59 pm Post subject: Code some Java |
|
|
Master
Joined: 27 Feb 2008 Posts: 218
|
Code some java classes which use the ConfigManagerProxy API and print the results to stdout. Then you may use it in a shell script. _________________ IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
vmcgloin |
Posted: Tue Jan 13, 2009 1:35 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Or, as a quick solution, depending on what the flows do (and whether you expect anything else to be reading the input queues) you might be able to check the open input count of any queues matching your naming standard for message flow input queues - using runmqsc which you can easily incorporate into a script too. |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Jan 13, 2009 2:16 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi vmcgloin,
vmcgloin wrote: |
Or, as a quick solution, depending on what the flows do (and whether you expect anything else to be reading the input queues) you might be able to check the open input count of any queues matching your naming standard for message flow input queues - using runmqsc which you can easily incorporate into a script too. |
And what if someone opens one of those queues with say RFHUtil ?
I would go with Java to be sure of my results.
Regards. |
|
Back to top |
|
 |
fschofer |
Posted: Tue Jan 13, 2009 3:32 am Post subject: |
|
|
 Knight
Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany
|
|
Back to top |
|
 |
vmcgloin |
Posted: Tue Jan 13, 2009 3:38 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
elvis_gn wrote: |
And what if someone opens one of those queues with say RFHUtil ?
I would go with Java to be sure of my results.
Regards. |
I agree. I should have said 'quick & dirty' which is why I had the caveats.
Cheers,
Vicky |
|
Back to top |
|
 |
sarathmattam |
Posted: Tue Jan 13, 2009 6:48 pm Post subject: |
|
|
Voyager
Joined: 05 Sep 2008 Posts: 94
|
Thanks a lot for the replies.
In my case the chances of connecting using RFHUtil to the main servers is very less. But now the problem comes in the case of flows with FileInput nodes . Is there any methods like this for checking the status message flows starting with file input nodes ??
Thanks in advance..
Regards,
Sarath |
|
Back to top |
|
 |
j.f.sorge |
Posted: Wed Jan 14, 2009 2:38 am Post subject: |
|
|
Master
Joined: 27 Feb 2008 Posts: 218
|
sarathmattam wrote: |
Is there any methods like this for checking the status message flows starting with file input nodes ?? |
Same solution as mentioned above - use ConfigManagerProxy to get the status of message flows... _________________ IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|