|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.mqbridge.application.PutFromMQ
Tool to put a message to an MQSeries queue, such that the user can specify the target queue and the target queue manager.
Each message generated contains a message body which is a single unicode string, as specified by the user on the command-line, followed by a number of bytes needed to pad-out the message body to a specific size. All padding bytes have a value of zero.
Syntax :
java examples.mqbridge.application.PutFromMQ <mq_q_mgr> <target_q> <target_qmgr> <msgs> <size> <text>Parameters :
Output :
The program will output one line of text for each message sent. The line of text contains a millisecond-representation of the current system time followed by the number of messages sent so far.
Field Summary | |
static java.lang.String |
syntax
The syntax string. |
static short[] |
version
|
Constructor Summary | |
PutFromMQ()
|
Method Summary | |
void |
activate(java.lang.String[] args)
Called to do the work of the program, from the main. |
static void |
main(java.lang.String[] args)
The entry point to the program from the command-line. |
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 java.lang.String syntax
Constructor Detail |
public PutFromMQ()
Method Detail |
public static void main(java.lang.String[] args)
args
- The command-line arguments.
See the documentation for the class for descriptions of
what parameters are expected.public void activate(java.lang.String[] args) throws java.lang.Exception
args
- The arguments passed from the command-line arguments.
See the documentation for the class for details of what these
arguments should contain.
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |