Create a JMS object and an IBM MQ object simultaneously

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


Before starting


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 we 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. Parent topic: Create and configure JMS administered objects


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


About this task

When creating a new JMS queue in IBM MQ Explorer, we can choose to launch the IBM MQ New Local Queue wizard to create a 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 we 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 the 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.


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


About this task

When creating a new JMS topic in IBM MQ Explorer, we 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 we 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 the 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.


Related tasks


Related reference