Testing communication between MQ and MQe (examples.mqbridge.application.GetFromMQ)

The example programs in this package are useful for proving that MQe and MQ can communicate with each other. These examples are MQ bindings programs that use the Java™ classes and are driven by a simple command-line syntax.

GetFromMQ
This class destructively reads any message appearing on a specified MQ queue, and provides timing statistics on when the message arrives. Optionally the message content can be dumped to the standard output screen.

This example is useful when testing a link between MQe and MQ, to see what throughput is being achieved between the two systems. Scripts dealing with connectivity between MQe and MQ can refer to and use this class.

PutFromMQ
This class puts a message to an MQ queue, such that the user can specify the target queue and the target queue manager. It specifically uses the long form of the MQQueueManager.accessQueue() method to make use of any MQe queue manager alias definitions that might be defined on the MQ queue.

Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.