|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--examples.queuemanager.MQeClient
To provide a simple example MQe client.
Components configured on a client at startup are :
... Aliases ... Registry ... QueueManager
Note:Only one client per JVM can be started at a time.
This extends the MQe
class.
------------------------------------------------------------------------------
Example configuration data fields : [QueueManager] (ascii)Name=ClientQMgr [Registry] (ascii)LocalRegType=FileRegistry (ascii)DirName=.\ClientQMgr\Registry\ (ascii)Adapter=com.ibm.mqe.adapters.MQeDiskFieldsAdapter
Field Summary | |
static MQeQueueManager |
queueManager
|
static MQeFields |
sections
|
static short[] |
version
|
Constructor Summary | |
MQeClient()
|
|
MQeClient(MQeFields thisConfig)
Constructor with configuration parameter. |
|
MQeClient(java.lang.String iniFileName)
Starts an MQeClient. |
|
MQeClient(java.lang.String iniFileName,
boolean supressStdout)
Start the client, but allow the caller to indicate whether output the .ini file contents to the stdout is required or not. |
Method Summary | |
void |
close()
Stops an MQeClient. |
void |
init(MQeFields parms)
First stage setup. |
void |
init(MQeFields parms,
boolean supressStdout)
First stage setup. |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
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 MQeQueueManager queueManager
public static MQeFields sections
Constructor Detail |
public MQeClient()
public MQeClient(MQeFields thisConfig) throws java.lang.Exception
thisConfig
- Configuration options.
java.lang.Exception
public MQeClient(java.lang.String iniFileName) throws java.lang.Exception
iniFileName
- A String containing the ini file name containing startup parms.
java.lang.Exception
public MQeClient(java.lang.String iniFileName, boolean supressStdout) throws java.lang.Exception
Start the client, but allow the caller to indicate whether output the .ini file contents to the stdout is required or not.
iniFileName
- A String containing the ini file name containing startup parms.supressStdout
- A Boolean. if True, the ini file contents are not displayed on the
Std Output. Displayed, if a value of False is passed in this parameter.
java.lang.Exception
Method Detail |
public void close() throws java.lang.Exception
java.lang.Exception
public void init(MQeFields parms) throws java.lang.Exception
parms
- MQeFields object.
java.lang.Exception
public void init(MQeFields parms, boolean supressStdout) throws java.lang.Exception
parms
- MQeFields object.supressStdout
- A Boolean. if True, the ini file contents are not displayed on the
Std Output. Displayed, if a value of False is passed in this parameter.
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |