Websphere MQ Everyplace

examples.helloworld
Class Run

java.lang.Object
  |
  +--examples.helloworld.Run

public class Run
extends java.lang.Object

Very simplified example to use a queue manager on disk.

The steps performed by this example application are:


Field Summary
static short[] version
           
 
Constructor Summary
Run()
           
 
Method Summary
 void get()
          Gets a simple message from the system default local queue.
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 queue manager.
 void stop()
          Stops the queue manager.
 void traceOff()
          Turns MQe trace off.
 void traceOn()
          Turns MQe trace on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static short[] version
Constructor Detail

Run

public Run()
Method Detail

main

public static void main(java.lang.String[] args)
Entry point from the command line.

This method will perform the following operations:


traceOn

public void traceOn()
             throws java.lang.Exception
Turns MQe trace on.

java.lang.Exception

start

public void start()
           throws java.lang.Exception
Starts the queue manager.

java.lang.Exception

put

public void put()
         throws java.lang.Exception
Puts a simple message to the system default local queue.

java.lang.Exception

get

public void get()
         throws java.lang.Exception
Gets a simple message from the system default local queue.

java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Stops the queue manager.

java.lang.Exception

traceOff

public void traceOff()
              throws java.lang.Exception
Turns MQe trace off.

java.lang.Exception

Websphere MQ Everyplace