|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.osgi.admin.MQeAdmin
MQeAdmin class provides helper methods to create and configure an MQeQueueManager. The QM name and Reg location to be used are passed in via the constructor. This class configures QueueManagers to use the following adapters: MQeTcpipHttpAdapter is used for comms. MQeMemoryFieldsAdapter is used for registry storage.
Field Summary | |
static short[] |
version
|
Constructor Summary | |
MQeAdmin(java.lang.String qmName,
java.lang.String regLocation)
Constructor to create a new MQeAdmin. |
Method Summary | |
void |
addRemoteQueueDefinition()
Adds a remote queue definition. |
void |
createConnection()
method to show how a connection definition may be created using an administration message. |
void |
createListener()
Creates a listener on the Queue Manager on port 8085 by default. |
void |
defineQM()
Defines the Queue Manager |
void |
deleteListener()
method to delete the listener using an administration message |
void |
deleteQM()
Deletes the Queue Manager definition. |
void |
setServerAddressAndPort(java.lang.String targetQMIPAddress,
java.lang.String targetQMPort)
Sets the address and port of the server. |
void |
startListener()
Starts the Listener that should have already been created on the QM. |
void |
startQM()
Starts the Queue Manager |
void |
stopListener()
Stops the Queue Managers Listener |
void |
stopQM()
Stops the Queue Manager |
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 MQeAdmin(java.lang.String qmName, java.lang.String regLocation)
Method Detail |
public void setServerAddressAndPort(java.lang.String targetQMIPAddress, java.lang.String targetQMPort)
public void defineQM()
public void stopQM()
public void deleteQM()
public void startQM()
public void createListener()
public void startListener()
public void stopListener()
public void deleteListener()
public void addRemoteQueueDefinition()
public void createConnection()
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |