Resource Environment Refs
Application Client -> Resource Env Refs tabbed pane
In the Resource Env Refs tabbed pane, you can add and edit the list of JMS destinations referenced by this
application client.
To add a reference:
- Click Add.
- Enter the name of the JMS reference as it appears in your code. For example, if the JNDI lookup of
the destination is java:comp/env/jms/stockInfoQueue, enter jms/stockInfoQueue
in the Coded Name column.
- Enter the type of JMS desination, either javax.jms.Queue or javax.jms.Topic,
in the Type column.
- Click the rightmost column labelled with the folded paper icon to provide a description for each JMS reference.
- For each JMS reference in the list, select the JNDI name from the JNDI Name drop down list.
This is the name that you gave the destination when you created it with the asadmin -create-jms-resource
command or the Destinations dialog box of the Server Configuration screens. A client uses the JNDI
name to locate the destination.
To delete a reference, select the row containing the reference and click Delete. A confirmation dialog will ask
you if you really want to delete the reference.
To edit the:
- Resource environment reference name - Select the name from the Coded Name column and type the new name.
- Type of destination - Select the type from the Type column and enter the new type.
- Description - Click the rightmost column labelled with the folded paper icon and enter a description
for each JMS reference.
- JNDI Name - Select the name from the JNDI Name drop down list.
Legal Notices