To Edit a JMS Destination Resource

  1. In the navigation tree, expand the Resources node.

  2. Under the Resources node, expand the JMS Resources node.

  3. Under the JMS Resources node, select the JMS Destination Resources node.

    The JMS Destination Resources page opens.

  4. On the JMS Destination Resources page, click the name of the destination resource that you are editing.

    The Edit JMS Destination Resource page opens.

  5. In the Physical Destination Name field, type the name of the physical destination to be associated with this resource.

    GlassFish Server creates the physical destination automatically when it is needed and deletes it when you delete the destination resource.

  6. From the Resource Type drop-down list, select either javax.jms.Topic or javax.jms.Queue.

  7. In the Description field, type a description of the destination resource.

  8. Select the Status Enabled checkbox to enable the resource at run time.

    This option is enabled by default.

  9. In the Additional Properties area, specify additional properties for the destination resource.

    GlassFish Server does not define any additional properties for JMS destination resources.

  10. Click Save.


    Tip:

    To return to the default settings, click the Load Defaults button, then click Save.


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

See Also
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices