Using the JMS JCA Wizard

ProcedureTo Test the Sample Code

To test that JMS messages are being properly passed from Queue1 to Queue2, complete the following steps.

  1. Right-click on the Project node and select Build.

  2. After the build process is complete, right-click on the Project node, and then select Undeploy and Deploy.

  3. Use your preferred JMS client to send a text message to Queue1 (located at mq://localhost:7676,).

  4. Use another JMS client (or the same client) to receive a text message from Queue2 in the JMS server (located at mq://localhost:7676,).