|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.queuemanager.MQeMemoryQM
To create a queue manager in-memory, with no disk footprint at all, use it and destroy it.
The steps performed by this example application are:
Field Summary | |
static short[] |
version
|
Constructor Summary | |
MQeMemoryQM()
Constructor for MQeMemoryQM. |
Method Summary | |
void |
define(java.lang.String queueManagerName)
Defines the queue manager using a memory adapter. |
void |
get()
Gets a simple message from the system default local queue. |
java.lang.String |
inventQueueManagerName()
Invents a queue manager name for use in this example |
static void |
main(java.lang.String[] args)
Entry point from the command line. |
void |
put()
Puts a simple message to the system default local queue. |
void |
start()
Starts the in-memory queue manager. |
void |
stop()
Stops the in-memory queue manager. |
void |
traceOff()
Turns MQe trace off. |
void |
traceOn()
Turns MQe trace on. |
void |
undefine()
Removes any definitions on the queue manager which were previously defined. |
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 MQeMemoryQM()
Method Detail |
public static void main(java.lang.String[] args)
This method will perform the following operations:
public void traceOn() throws java.lang.Exception
java.lang.Exception
public java.lang.String inventQueueManagerName()
public void define(java.lang.String queueManagerName) throws java.lang.Exception
All configuration and messaging data is stored in memory.
java.lang.Exception
public void start() throws java.lang.Exception
java.lang.Exception
public void put() throws java.lang.Exception
java.lang.Exception
public void get() throws java.lang.Exception
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public void undefine() throws java.lang.Exception
java.lang.Exception
public void traceOff() throws java.lang.Exception
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |