|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.ivt.MQeIVT
Run the MQe installation verification test (IVT).
Creates an queue manager and then executes the following applications:
. examples.install.Example1 . examples.install.Example2 . examples.install.Example3 . examples.install.Example4 . examples.install.Example5 . examples.install.Example6 . examples.administration.simple.Example1
If all suceed then a the application completes with a return code of 0 if it fails it exists with a non zero return code.
By default the IVT will start a queue manager using start up parameters retreived from file .\ExamplesMQeClient.ini. The ini file used to retrieve the startup parameters together with the name of the queue manager that tests are run against can be altered by using the non-default constructors.
The IVT will create the queue manager specified in the startup parameters file and delete it at the end. Hence the queue manager must not exist when the IVT is run or else it will fail.
Field Summary | |
protected java.lang.String |
QMName
|
protected java.lang.String |
startupIni
|
static short[] |
version
|
Constructor Summary | |
MQeIVT()
Constructor that uses the default queue manager and ini file. |
|
MQeIVT(java.lang.String qMgrName)
Constructor that uses the queue manager passed in on the command line and the default ini file. |
|
MQeIVT(java.lang.String qMgrName,
java.lang.String localQMgrIniFile)
Constructor that starts a queue manager with paramters from an ini file. |
Method Summary | |
void |
doIt()
Run each test in sequence. |
static void |
main(java.lang.String[] args)
Starts the application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static short[] version
protected java.lang.String startupIni
protected java.lang.String QMName
Constructor Detail |
public MQeIVT() throws java.lang.Exception
java.lang.Exception
public MQeIVT(java.lang.String qMgrName) 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
public MQeIVT(java.lang.String qMgrName, java.lang.String localQMgrIniFile) throws java.lang.Exception
Constructor that starts a queue manager with paramters from an ini file. This queue manager is then used as the access point for interacting with the same or different queue managers.
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
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
Starts the application.
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |