Create an IBM MQ object from a JMS object

We can create new IBM MQ queues and topics based on your existing JMS queues and topics. The values of relevant properties of the JMS object are copied to the new IBM MQ object. In future, however, if you make a change to one of the objects, the changes are not reflected in the other object.


Before starting


If the JMS object that we use to create an IBM MQ object specifies a queue manager name in its properties, we can only create the IBM MQ object on a queue manager with the same name. This means you might have to add a new queue manager with the name specified in the JMS object.

To create an IBM MQ object from an existing JMS object, complete the following steps.


Procedure

  1. In the Navigator view, expand the initial context that contains the JMS object (either a JMS queue or a JMS topic), then click the Destinations folder to list the objects in the Content view.
  2. In the Content view, right-click the object, then click Create MQ Queue or Create MQ Topic as appropriate. The New Queue or New Topic wizard opens as appropriate.
  3. In the wizard, click Select, then select the queue manager on which you want to create the new IBM MQ object. The queue manager's name is displayed in the Queue Manager field of the wizard.
  4. Work through the wizard to define the new IBM MQ object, then click Finish.


Results

The new IBM MQ object is created and displayed under the appropriate queue manager in IBM MQ Explorer.


What to do next

To view the new MQ object, in the Navigator view, expand the name of the queue manager on which you created the MQ object. We can now continue to configure the IBM MQ object as necessary.

To create an MQ object and a JMS object simultaneously, follow the instructions in: Create an IBM MQ object and a JMS object simultaneously or Create a JMS object and an IBM MQ object simultaneously.

Parent topic: Create and configure queue managers and objects


Related tasks