Running JMS Postcard with two queue managers

 

If you have already started JMS Postcard with a nickname, for example Will, and you want to send a postcard to a second nickname on a second queue manager on this, or another, computer, follow these steps:

  1. Start the second Postcard, choosing one of the following:

    • JMS Postcard

      • On this computer, run the postcard shell script again, then in the sign-on dialog check Advanced and select the second queue manager you want to use.

      • On another computer, run the postcard shell script; or, on Windows systems, open WebSphere MQ First Steps and click on JMS Postcard.

    • MQI Postcard on Windows systems:

      either start from WebSphere MQ First Steps (to use the default configuration), or open the WebSphere MQ Explorer, right-click on the queue manager you want to use and click All Tasks->Start a Postcard...

  2. When the sign-on dialog appears, enter your second nickname (for example, Tim).

  3. In the Postcard application on Will's computer, fill in the To field with your second nickname (Tim), and in the On field put the queue manager name of the second postcard where Tim is. If you don't know this name, on Tim's computer in the Postcard look below the Message box after On:; alternatively if both queue managers are in the default configuration cluster, we can just type in the short TCP/IP name of Tim's computer and Postcard builds that into the queue manager name in the same way that the task that creates the default configuration does.

  4. Type your message, and click Send.

    Look in Tim's Postcard to see the message arrive, and double-click on it to see the postcard itself.

  5. Try sending a message from Tim's computer back to Will.

    We can do this by selecting the message that arrived in Tim's list, and clicking Reply.

See JMS Postcard configuration.

See also How JMS Postcard works.


uj10530_