In the tree component, expand the Resources node, then expand the JMS Resources node.
Select the Destination Resources node.
On the JMS Destination Resources page, click New. The Create JMS Destination Resource page appears.
In the JNDI Name field, type the name of the resource.
It is a recommended practice to use the naming subcontext prefix jms/ for JMS resources. For example: jms/Queue.
From the Type drop-down list, choose either javax.jms.Topic or javax.jms.Queue.
Select the Enabled checkbox to enable the resource at run time.
In the Additional Properties area, provide values for properties.
The following table lists the available properties.
Property Name |
Description |
---|---|
(Required) The name of the physical destination to which the resource refers. |
|
A description of the physical destination. |
In the Targets area, do the following:
Click OK.
create-jms-resource
In the tree component, expand the Resources node, then expand the JMS Resources node.
Expand the Destination Resources node.
Select the destination resource to be edited.
On the Edit JMS Destination Resource page, you can perform these tasks:
Click Save to save the changes.
Optionally, click the Targets tab to go to the JMS Destination Resource Targets page. On this page, do the following:
Click Manage Targets to open the Manage Resource Targets page.
On this page, move targets between the Available column and the Selected column. Make sure to place in the Selected column the target or targets to which applications that use the resource will be deployed. The available targets include the available clusters and server instances, as well as the default server instance, server. Click OK to save the changes.
Select the checkbox for a target, then click Enable or Disable to enable or disable the resource for that target.
In the tree component, expand the Resources node, then expand the JMS Resources node.
Select the Destination Resources node.
On the JMS Destination Resources page, select the checkbox next to the name of the destination resource to be deleted.
Click Delete.
delete-jms-resource