|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.administration.commandline.MQeAbstractCmdLineAdminTool | +--examples.mqbridge.administration.commandline.IsQueueManagerBridgeCapable
Queries the queue manager and finds whether the queue manager is bridge capable or not.
If the queue manager is bridge capable, the text "bridge-capable=true" is put to stdout.
If the queue manager is not bridge capable, the text "bridge-capable=false" is put to stdout.
If the answer cannot be obtained, the text "bridge-capable=unknown" is put to stdout.
Syntax: java examples.mqbridge.administration.commandline.IsQueueManagerBridgeCapable <targetQMgr> <iniFile>
Field Summary | |
static java.lang.String |
syntax
Syntax of the command. |
static short[] |
version
The version of this example. |
Fields inherited from class examples.administration.commandline.MQeAbstractCmdLineAdminTool |
ADMIN_Q_NAME, REPLY_TO_Q, TIMEOUT_MILLISECS |
Constructor Summary | |
IsQueueManagerBridgeCapable()
|
Method Summary | |
void |
activate(java.lang.String[] args)
Gathers the parameters and passes them to a method which does the command. |
boolean |
inquireBridgeCapable(java.lang.String targetQMgr,
MQeQueueManager myQMgr)
Find out if the target queue manager is bridge capable, using the queue manager passed. |
static void |
main(java.lang.String[] args)
Entry point from the command line. |
Methods inherited from class examples.administration.commandline.MQeAbstractCmdLineAdminTool |
checkAdminReply, primeAdminMsg, processAdminMsg, sendWaitMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static short[] version
public static final java.lang.String syntax
Constructor Detail |
public IsQueueManagerBridgeCapable()
Method Detail |
public static void main(java.lang.String[] args)
public void activate(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
public boolean inquireBridgeCapable(java.lang.String targetQMgr, MQeQueueManager myQMgr) throws java.lang.Exception
java.lang.Exception
- if a definate true/false cannot be obtained.
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |