16. Receive (GET) the message on QM2

Now that a message has been put to the queue from QM1, you can get the message from QM2.

Receiving a message using MQe_Script:

You can use the following MQe_Script command to get the message from the queue:
mqe_script_msg -get -qname Q2 -qmname QM2

Receiving a message programmatically:

For more information on using Java or C to get a message from a queue, see Get. For Java™ and C examples, see Example (Java) - assured get and Example (C) - assured get.


Terms of use | WebSphere software

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