JMS Resource General Attributes
See Also
You see this page of the New File wizard when you are defining a JMS resource.
On this page you choose to create either an Admin Object resource (destination) or a Connector resource (connection factory),
and specify the JNDI name of the resource.
- A JMS application normally uses at least one connection factory and at least one destination.
The order in which these are created is not important.
Use this page as follows:
- Enter the configuration information for the resource.
- JNDI name. The JNDI name for the resource is required and must be unique to this resource.
Because all resource JNDI names are in the java:comp/env subcontext, when you specify the JNDI name of a JMS
resource enter only jms/name. For example, specify jms/ConnectionFactory1. You cannot change the JNDI name
of the resource after it has been registered with the server. To change the JNDI name, you must delete the resource
from the server, after which you can change the JNDI name in the properties window of the resource and register the resource again.
- Enabled. The resource is enabled by default. To disable the resource, select false from the combobox.
You can change this setting in the properties window for the resource.
- Description. Enter a description of the resource. This field is optional.
- Choose the resource type.
A JMS resource may be either an Admin Object resource or it may be a
Connector resource, in which case it is accessed via the Connector API.
If the JMS resource you are creating is an Admin Object resource:
- Check the javax.jms.Queue radio button if it is a queue.
- Check the javax.jms.Topic radio button if it is a topic.
If the JMS resource you are creating is a Connector resource:
- Check the javax.jms.QueueConnectionFactory radio button if it is used as a queue.
- Check the javax.jms.TopicConnectionFactory radio button if it is used as a topic.
- Check the javax.jms.ConnectionFactory radio button if it is used as a connection factory.
- Click Next to further customize the resource properties.
Click Finish to create the resource without additional properties. You can
add properties later in the properties window.
The JMS resource is created and appears in the Files window in the setup node.
- See Also
- Defining a JMS Resource
Legal Notices