|
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.application.ExampleBase | +--examples.administration.simple.ExampleAdminBase | +--examples.administration.simple.Example3
Inquires on the characteristics of MQe resources. Example showing how to:
. inquire on the characteristics of a queue manager . inquire on the characteristics of a queue
Field Summary | |
static short[] |
version
|
Fields inherited from class examples.application.ExampleBase |
client, example, localQMgrName, msgData, msgField, myQM, qMgrName, queueName, startupIni |
Constructor Summary | |
Example3()
Constructor that uses the default queue manager. |
|
Example3(java.lang.String queueManagerName)
Constructor that uses the queue manager passed in on the command line. |
|
Example3(java.lang.String qMgrName,
java.lang.String localQMgrIniFile)
Constructor that starts a queue manager with paramters from an ini file. |
Method Summary | |
void |
doIt()
All work is performed in this method. |
void |
inquireQMgr()
All work is performed in this method. |
void |
inquireQueue(java.lang.String remQMgrName,
java.lang.String remQName)
All work is performed in this method. |
static void |
main(java.lang.String[] args)
Starts the application. |
void |
setParms()
Over-ride default parameter settings. |
Methods inherited from class examples.administration.simple.ExampleAdminBase |
checkReply, primeAdminMsg, waitForReply |
Methods inherited from class examples.application.ExampleBase |
accessLocalQMgr, close, emptyQueue |
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
Constructor Detail |
public Example3() throws java.lang.Exception
java.lang.Exception
public Example3(java.lang.String queueManagerName) throws java.lang.Exception
java.lang.Exception
public Example3(java.lang.String qMgrName, java.lang.String localQMgrIniFile) throws java.lang.Exception
qMgrName
- java.lang.String, queue manager name
The name of the queue manager to interact with.
The queue manager can be a local or a remote queue
manager.
java.lang.Exception
Method Detail |
public void doIt() throws java.lang.Exception
doIt
in class ExampleBase
java.lang.Exception
public void inquireQMgr() throws java.lang.Exception
java.lang.Exception
public void inquireQueue(java.lang.String remQMgrName, java.lang.String remQName) throws java.lang.Exception
remQMgrName
- Name of the QMgrremQName
- Name of the Queue.
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void setParms()
setParms
in class ExampleAdminBase
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |