All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-jmsdestinationnew.html Maven / Gradle / Ivy




To Create a JMS Destination Resource

When you create a JMS destination resource, the GlassFish Server creates an Admin Object Resource for the destination resource. You can view this resource under the Connectors node.

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

    The New JMS Destination Resource page opens.

  5. In the JNDI Name field, type the JNDI name of the resource.

    It is a recommended practice to use the naming subcontext prefix jms/ for JMS resources. For example: jms/Queue.

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

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

  7. From the Resource Type drop-down list, select either javax.jms.Topic or javax.jms.Queue.
  8. In the Description field, type a description of the destination resource.
  9. Select the Status Enabled checkbox to enable the resource at run time.

    This option is enabled by default.

  10. (Optional) In the Additional Properties area, specify additional properties for the destination resource.

    The GlassFish Serverdoes not define any additional properties for JMS destination resources.

    To add a property, click the Add Property button. In the blank row that appears, type the property name in the Name field, and type the property value in the Value field.

  11. Click OK.
See Also
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2025 Weber Informatics LLC | Privacy Policy