Creating a JMS object and an IBM MQ object simultaneously

When you create a new JMS object, you can optionally create a corresponding IBM® MQ object of the same type.

Before you begin

About this task

With the object creation wizards in IBM MQ Explorer, you can create an IBM MQ object and a JMS object simultaneously. You begin by launching your required object wizard, for example; an IBM MQ queue. Then you select the option to launch another wizard, for example; a JMS queue, once the object has been created. The second object wizard must be of the same object type, and the properties of one are mapped to the other.

Creating a JMS queue and then creating an IBM MQ queue simultaneously

About this task

When you create a new JMS queue in IBM MQ Explorer, you can choose to launch the IBM MQ New Local Queue wizard to create an IBM MQ queue immediately after the New JMS Destination wizard has finished. The New Local Queue wizard now contains the details you entered when creating the JMS queue.

To create a new JMS queue and IBM MQ queue simultaneously in IBM MQ Explorer:

Procedure

  1. Select the JMS Initial Context you want to add a new JMS queue to in the Navigator view, and right-click on its Destinations initial context object folder.
  2. Click New > Destination to open the New Destination wizard.
  3. Type a name for your queue, then select Queue in the Type field.
  4. Select Start wizard to create a matching MQ Queue. Continue through the wizard to create your queue.

Results

Once you have completed the New Destination wizard, the New MQ Queue wizard opens, with many of the JMS queue details mapped to the IBM MQ queue.

Creating a JMS topic and then creating an IBM MQ topic simultaneously

About this task

When you create a new JMS topic in IBM MQ Explorer, you can choose to launch the IBM MQ New Topic wizard to create an IBM MQ topic immediately after the New JMS Destination wizard has finished. The New Topic wizard now contains the details you entered when creating the JMS topic.

To create a new JMS topic and IBM MQ topic simultaneously in IBM MQ Explorer:

Procedure

  1. Select the JMS Initial Context you want to add a new JMS topic to in the Navigator view, and right-click on its Destinations initial context object folder.
  2. Click New > Destination to open the New Destination wizard.
  3. Type a name for your topic, then select Topic in the Type field.
  4. Select Start wizard to create a matching MQ Topic. Continue through the wizard to create your topic.

Results

Once you have completed the New Destination wizard, the New Topic wizard opens, with many of the JMS topic details mapped to the IBM MQ topic.