|
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.SendTestMessage
To send a test message from one queue manager to another, using a bridge-enabled server to do so.
Syntax
java examples.mqbridge.administration.commandline.SendTestMessage <queue_name> <hosting_queue_manager> <ini_file>
Parameters
Field Summary | |
static long |
SLEEP_SECONDS
The number of seconds the program sleeps for after it's posted the message... |
static short[] |
version
|
Fields inherited from class examples.administration.commandline.MQeAbstractCmdLineAdminTool |
ADMIN_Q_NAME, REPLY_TO_Q, TIMEOUT_MILLISECS |
Constructor Summary | |
SendTestMessage()
|
Method Summary | |
void |
activate(java.lang.String[] args)
Does all the work. |
static void |
main(java.lang.String[] args)
Entry point from the command line. |
protected void |
sendTestMsg(java.lang.String q,
java.lang.String qmgr,
MQeQueueManager myQMgr)
Sends a test message. |
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 long SLEEP_SECONDS
Constructor Detail |
public SendTestMessage()
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
protected void sendTestMsg(java.lang.String q, java.lang.String qmgr, MQeQueueManager myQMgr) throws java.lang.Exception
q
- Qnameqmgr
- QMgrNamemyQMgr
- MQeQueueManager object
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |