To verify that the communication between two machines, the sender
of the message and the receiver, are working correctly, and that the WebSphere® MQ Java
messaging support is successfully installed, you can use the JMS Postcard
application. Both machines must use TCP/IP.
To use the
JMS Postcard application
for this type of verification one of the following must be true;
- Both queue managers must be in the same cluster, this is the simplest
method. To ensure that both queue managers are in the same cluster you can
run the JMS Postcard application before creating any local queue managers
on each machine. The JMS Postcard application detects that there are
no local queue managers defined for that machine, and displays the Default
Configuration wizard so that you can create the default queue managers and
link them to the default cluster. This topic describes how to use the Default
Configuration wizard.
You can use the JMS Postcard application with
existing queue managers, as long as both queue managers belong to the same
cluster. If you have already completed the Default Configuration wizard but
did not put the two queue managers into the same cluster you can create your
own new queue managers on both machines, create a cluster, and ensure that
the queue managers that you create on each machine belong to the same cluster.
- Alternatively if the queue managers are not in the same cluster you can
configure channels to communicate between the two machines. For instructions
on how to see up the channels see, Setting up the sender server and Setting up the receiver server. Once you have set up communication you can
use the postcard application, starting at step 6.