Creating an IBM MQ object and a JMS object simultaneously

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


Before you begin


About this task

With the object creation wizards in IBM MQ Explorer, we 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, after 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 an IBM MQ queue and then creating a JMS queue simultaneously

About this task

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

To create a new IBM MQ queue and JMS queue simultaneously in IBM MQ Explorer, complete the following steps:

Procedure

  1. Select the queue manager you want to add a new IBM MQ queue to in the Navigator view, and right-click on its Queues queue manager object folder.
  2. Click New > Local Queue to open the New Local Queue wizard.
  3. Type a name for your queue, then select Start wizard to create a matching JMS Queue. Continue through the wizard to create your queue.

Results

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


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

About this task

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

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

Procedure

  1. Select the queue manager you want to add a new IBM MQ topic to in the Navigator view, and right-click on its Topics queue manager object folder.
  2. Click New > Topic to open the New Topic wizard.
  3. Type a name for your topic, then select Start wizard to create a matching JMS topic. Continue through the wizard to create your topic.

Results

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