When you create a new IBM® MQ object, you can
optionally create a corresponding JMS object of the
same type.
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, 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.
Procedure
-
[OPTION 1] Create an IBM MQ queue and a JMS queue simultaneously.
When you create a new IBM MQ queue in IBM MQ Explorer, you 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.
-
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.
-
Click to open the New Local Queue wizard.
-
Type a name for your queue, then select Start wizard to create a matching JMS
Queue. Work through the wizard to create your queue.
After you 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.
-
[OPTION 2] Create an IBM MQ topic and a JMS topic simultaneously.
When you create a new IBM MQ topic in IBM MQ Explorer, you 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.
-
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.
-
Click to open the New Topic wizard.
-
Type a name for your topic, then select Start wizard to create a matching JMS
topic. Work through the wizard to create your topic.
Once you 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.