High Quality JMS & AMQP Messaging.

Configure a Queue Object

This step configures a javax.jms.Queue object "sample2-output". This queue is placed in JNDI and used from the 2nd example as the JMS destination. This queue is the only queue which needs to be stored in JNDI. The other 2 queues, "sample1-input" and "sample2-input", are used for message inflow only.

In the left tree select "Resources / Connectors / Admin Object Resources":

Click on "New" in the right frame.

Specify "jms/sample2-output" as the JNDI name, "javax.jms.Queue" as the resource type, and select "swiftmq" as the resource adapter:

A queue object of the SwiftMQ resource adapter has one property "QueueName" which need to be set to the physical SwiftMQ queue name which consists of "queue-name '@' router-name":

The queue object is now created: