Author |
Message
|
nickkirk |
Posted: Mon Aug 24, 2009 1:36 am Post subject: mqsi command |
|
|
Apprentice
Joined: 26 Sep 2008 Posts: 48
|
Is there a mqsi command which displays if a message flow is running ? |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Mon Aug 24, 2009 2:05 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
|
Back to top |
|
 |
WMBDEV1 |
Posted: Mon Aug 24, 2009 2:12 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
Right.... since my previous response I did a bit more digging.....
mqsireportflowstats reports the status of flows |
|
Back to top |
|
 |
nickkirk |
Posted: Mon Aug 24, 2009 2:23 am Post subject: |
|
|
Apprentice
Joined: 26 Sep 2008 Posts: 48
|
WMBDEV1 wrote: |
Right.... since my previous response I did a bit more digging.....
mqsireportflowstats reports the status of flows |
This command reports the current options for accounting and statistics, not the status.
I all want to know is if the flow is running. |
|
Back to top |
|
 |
nagarjun_vv |
Posted: Mon Aug 24, 2009 2:23 am Post subject: |
|
|
Apprentice
Joined: 24 Jun 2008 Posts: 33
|
From mqsireportstats can we know whether the flow is running or not |
|
Back to top |
|
 |
nickkirk |
Posted: Mon Aug 24, 2009 2:29 am Post subject: |
|
|
Apprentice
Joined: 26 Sep 2008 Posts: 48
|
It seems that the CMP API using the isRunning() method is the only solution.
Thanks ! |
|
Back to top |
|
 |
nickkirk |
Posted: Mon Aug 24, 2009 2:31 am Post subject: |
|
|
Apprentice
Joined: 26 Sep 2008 Posts: 48
|
nagarjun_vv wrote: |
From mqsireportstats can we know whether the flow is running or not |
How ? |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Mon Aug 24, 2009 2:37 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
drat, you may be right.... Looks like the On? is for the stats module and not the flow. In which case, im still not aware of a way of doing it through the mqsi command!
Glad I was of some help though:
nickkirk wrote: |
It seems that the CMP API using the isRunning() method is the only solution.
Thanks ! |
|
|
Back to top |
|
 |
|