|
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.administration.commandline.HomeServerQueueCreator
To start a queue manager and add a home-server queue to its configuration.
Syntax
java examples.administration.commandline.HomeServerQueueCreator queue_name <get_from_qmgr> <compressor> <cryptor> <authenticator> <poll_period> <changing_qmgr> <ini_file>
Parameters
Field Summary | |
static java.lang.String |
syntax
|
static short[] |
version
|
Fields inherited from class examples.administration.commandline.MQeAbstractCmdLineAdminTool |
ADMIN_Q_NAME, REPLY_TO_Q, TIMEOUT_MILLISECS |
Constructor Summary | |
HomeServerQueueCreator()
|
Method Summary | |
void |
activate(java.lang.String[] args)
Gathers the command-line parameters into variables, and calls the method which creates the queue. |
static void |
createQueue(java.lang.String q,
java.lang.String qmgr,
java.lang.String getFromQMgr,
java.lang.String compressorClass,
java.lang.String cryptorClass,
java.lang.String authenticatorClass,
long pollPeriod,
MQeQueueManager myQMgr)
Creates an admin message which will create a queue, and sends it to the queue manager. |
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 HomeServerQueueCreator()
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 static void createQueue(java.lang.String q, java.lang.String qmgr, java.lang.String getFromQMgr, java.lang.String compressorClass, java.lang.String cryptorClass, java.lang.String authenticatorClass, long pollPeriod, MQeQueueManager myQMgr) throws java.lang.Exception
q
- The name of the home server queueqmgr
- The queue manager on which the home server queue will be createdgetFromQMgr
- The name of the queue manager from which this new home server queue will "pull" messages.pollPeriod
- The period (milliseconds) used between successive "poll" attempts to "pull" messages from the store-and-forward queue.myQMgr
- A reference to an active MQe queue manager, used to send and receive messages.
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |