A JMS client uses a destination object to specify the target
of messages that the JMS client produces and the source of messages
that the JMS client receives. Destination objects can represent queues
(for point-to-point messaging) or topics (for publish/subscribe messaging).
About this task
To create a destination object, complete the following steps.
Procedure
- In the Navigator view, expand the JMS Administered
Objects folder, then expand the initial context (and subcontexts,
if necessary) in which the destination will be stored in the JNDI
naming and directory service.
- Right-click the Destinations folder,
then click . The New Destination wizard opens.
- In the wizard, type a name for the destination, then click Next.
- Select the type of destination that you want to create,
then click Next:
- If you are using point-to-point messaging, click Queue.
- If you are using publish/subscribe messaging, click Topic.
- Optional: If you want to create the destination object
with the same attributes as an existing destination, select the Create with attributes like an existing JNDI object,
then click Select to select the existing destination.
- Click Finish.
Results
The new destination is displayed in the Content view of
the Destinations folder.