Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

- Previous: Admin Console Tasks for JMS Connection Factories
- Next: Admin Console Tasks for JMS Physical Destinations

# Admin Console Tasks for JMS Destination Resources

- To create a JMS destination resource

- To edit a JMS destination resource

- To delete a JMS destination resource

## To create a JMS destination resource

1. In the tree component, expand the Resources node, then expand the JMS Resources node.

2. Select the Destination Resources node.

3. On the JMS Destination Resources page, click New. The Create JMS Destination Resource page appears.

4. 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`.

5. From the Type drop-down list, choose either `javax.jms.Topic` or `javax.jms.Queue`.

6. Select the Enabled checkbox to enable the resource at run time.

7. In the Additional Properties area, provide values for properties.

   The following table lists the available properties.

   Property Name | Description
   --- | ---
   `Name` | (Required) The name of the physical destination to which the resource refers.
   `Description` | A description of the physical destination.

8. In the Targets area, do the following:

   1. From the Available column, select 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`.

   2. Click Add to move the target to the Selected column.

9. Click OK.

##### Equivalent asadmin command

`create-jms-resource`

## To edit a JMS destination resource

1. In the tree component, expand the Resources node, then expand the JMS Resources node.

2. Expand the Destination Resources node.

3. Select the destination resource to be edited.

4. On the Edit JMS Destination Resource page, you can perform these tasks:

   - Change the type of the resource.

   - Modify the text in the Description field.

   - Select or deselect the Enabled checkbox to enable or disable the resource.

   - Add, remove, or modify the Name or Description property.

5. Click Save to save the changes.

6. Optionally, click the Targets tab to go to the JMS Destination Resource Targets page. On this page, do the following:

   1. 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.

   2. Select the checkbox for a target, then click Enable or Disable to enable or disable the resource for that target.

## To delete a JMS destination resource

1. In the tree component, expand the Resources node, then expand the JMS Resources node.

2. Select the Destination Resources node.

3. On the JMS Destination Resources page, select the checkbox next to the name of the destination resource to be deleted.

4. Click Delete.

##### Equivalent asadmin command

`delete-jms-resource`

- Previous: Admin Console Tasks for JMS Connection Factories
- Next: Admin Console Tasks for JMS Physical Destinations

- © 2010, Oracle Corporation and/or its affiliates