|
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.MQeServer
To provide a simple example MQe server.
Components configured on a server at startup are :
... Aliases ... Registry ... QueueManager ... Preload
Syntax :
java examples.queuemanager.MQeServer filename where filename is the name of the ini file containing the startup parameters.ExamplesMQeServer.ini file is the default file.
Note:Only one server per JVM at a time.
This extends the MQe
class.
------------------------------------------------------------------------------
Example configuration data fields : [QueueManager] (ascii)Name=ServerQMgr [Registry] (ascii)LocalRegType=FileRegistry (ascii)DirName=.\ServerQMgr\Registry\ (ascii)Adapter=com.ibm.mqe.adapters.MQeDiskFieldsAdapter
Field Summary | |
static boolean |
initialised
|
static java.util.Hashtable |
loadTable
|
static MQeQueueManager |
queueManager
|
static MQeFields |
sections
|
static short[] |
version
|
Constructor Summary | |
MQeServer()
Null constructor. |
|
MQeServer(MQeFields thisConfig)
Constructor with configuration parameter. |
|
MQeServer(java.lang.String iniFileName)
Starts an MQeServer. |
|
MQeServer(java.lang.String iniFileName,
boolean suppressStdout)
Start an MQeServer optionally displaying things on stdout as we go. |
Method Summary | |
void |
activate(boolean Start)
Activate and de-activate the server. |
void |
close()
Stops an MQeServer. |
void |
init(MQeFields parms)
First stage setup. |
void |
init(MQeFields parms,
boolean suppressStdout)
First stage setup. |
static void |
main(java.lang.String[] args)
Invoked from the command line. |
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 java.util.Hashtable loadTable
public static boolean initialised
public static MQeFields sections
Constructor Detail |
public MQeServer()
public MQeServer(MQeFields thisConfig) throws java.lang.Exception
thisConfig
- Configuration options.
java.lang.Exception
public MQeServer(java.lang.String iniFileName) throws java.lang.Exception
iniFileName
- A String containing the ini file name containing startup parms.
java.lang.Exception
public MQeServer(java.lang.String iniFileName, boolean suppressStdout) throws java.lang.Exception
iniFileName
- A String containing the ini file name containing startup parms.
java.lang.Exception
Method Detail |
public void activate(boolean Start) throws java.lang.Exception
java.lang.Exception
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 suppressStdout) throws java.lang.Exception
parms
- MQeFields object.
java.lang.Exception
public static void main(java.lang.String[] args)
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |