|
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.GetFromMQ
Tool to destructively read any message appearing on a specified WebSphere MQ queue.
Syntax :
java examples.mqbridge.application.GetFromMQ <mq_q_mgr> <mq_q> <display_flag>Parameters :
How to stop :
Hit Ctrl-C to stop this program.
Field Summary | |
static java.lang.String |
BLANK_AS_HEX
|
static int |
BYTES_PER_LINE
|
static int |
CHARS_PER_HEX_BYTE
|
static char[] |
hex
|
static java.lang.String |
syntax
How should a user invoke this tool ? |
static short[] |
version
|
static int |
WAIT_INTERVAL_MILLISECONDS
How long we wait for a message to arrive. |
Constructor Summary | |
GetFromMQ()
|
Method Summary | |
void |
activate(java.lang.String[] args)
The work of the tool is done here. |
static java.lang.String |
byteToAscii(byte data)
Converts a byte array to Ascii string. |
static java.lang.String |
byteToHex(byte data)
Given a byte value, converts it into it's hex equivalent. |
static void |
main(java.lang.String[] args)
The entry point 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 final int WAIT_INTERVAL_MILLISECONDS
public static java.lang.String syntax
public static final int BYTES_PER_LINE
public static final int CHARS_PER_HEX_BYTE
public static final java.lang.String BLANK_AS_HEX
public static final char[] hex
Constructor Detail |
public GetFromMQ()
Method Detail |
public static void main(java.lang.String[] args)
public void activate(java.lang.String[] args) throws java.lang.Exception
args
- Arguments
java.lang.Exception
public static java.lang.String byteToAscii(byte data)
data
- Byte to be converted to Ascii
public static java.lang.String byteToHex(byte data)
data
- Byte to be converted to Hex
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |