![JAR search and dependency download from the Maven repository](/logo.png)
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.
- In the navigation tree, expand the Resources node.
- Under the Resources node, expand the JMS Resources node.
- Under the JMS Resources node, select the JMS Destination Resources node.
The JMS Destination Resources page opens.
- On the JMS Destination Resources page, click New.
The New JMS Destination Resource page opens.
- 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.
- 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.
- From the Resource Type drop-down list, select either javax.jms.Topic or javax.jms.Queue.
- In the Description field, type a description of the destination resource.
- Select the Status Enabled checkbox to enable the resource at run time.
This option is enabled by default.
- (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.
- Click OK.
See Also
-
-
-
-
-
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices