|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.mqbridge.administration.commandline.MQeBridgesStart
A command-line tool to start a bridges resource running.
Options control whether all children objects of the bridges object are also started or not.
Syntax
java examples.mqbridge.administration.commandline.MQBridgesStart <affectChildren> <qMgr> <iniFile>
Parameters
Example
java ...MQBridgesStart 1 MyQMgr C:\MQe\QMgrs\MyQMgr\MyQMgr.ini
Starts the bridges resource, and all bridge, MQSeries proxy, client connection and transmission queue listener bridge resources which exist on the MyQMgr, using the MyQMgr to send the administration message.
Field Summary | |
static java.lang.String |
syntax
Syntax of the command. |
static short[] |
version
|
Constructor Summary | |
MQeBridgesStart()
|
Method Summary | |
void |
activate(java.lang.String[] args)
Gathers the parameters and passes them to a method which does the command. |
static void |
main(java.lang.String[] args)
Entry point from the command line. |
void |
startMQBridges(boolean affectsChildren,
java.lang.String targetQMgr,
MQeQueueManager myQMgr)
Creates an admin message which will start a bridges resource. |
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 MQeBridgesStart()
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 void startMQBridges(boolean affectsChildren, java.lang.String targetQMgr, MQeQueueManager myQMgr) throws java.lang.Exception
Optionally, either only the bridges resource, or it's children resources can be started.
affectsChildren
- A boolean flag. True indicates that all child resources of the
bridges resource will be started. False indicates that only the bridges resource will
be started.targetQMgr
- The name of the MQe queue manager on which the bridge will be created.myQMgr
- A reference to an active MQe queue manager, used to send mesages from and receive messages using.
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |