Message destination reference settings

If your application uses message-driven beans, use this page to specify the Java Naming and Directory Interface (JNDI) name of the J2C administered object to bind the message destination reference to the message-driven beans. You must map each message destination reference that is defined in your application to an administered object.

To view this administrative console page, click Applications > Application Types > WebSphere enterprise applications > application_name > Message destination references. This page is the same as the Bind message destination references to administered objects page on the application installation and update wizards.

If the message destination reference is from an EJB 3.0 or later module, then the JNDI name is optional and the run time provides a container default value.

Attention: If multiple message destination references link to the same message destination, only one JNDI name is collected. When a message destination reference links to the same message destination as a message-driven bean and the destination JNDI name has been collected already, the destination JNDI name for the message destination reference is not collected.

To apply binding changes to multiple mappings:

  1. In the list of mappings, select the Select check box for each EJB module that you want mapped to a particular binding.
  2. Expand Apply Multiple Mappings.
  3. Complete one of the following steps:
    • Specify a message destination name.
    • Select a target resource JNDI name for a message destination.
  4. Click Apply.
  5. Click OK or Next.
Note: If any value is modified on this page, all of the metadata files related to the application are refreshed in the configuration repository.

Module

Specifies the name of the module that contains the bean.

Bean

Specifies name of a bean in the application.

URI

Specifies the location of the module relative to the root of the enterprise archive (EAR) file.

Message destination object

Specifies the message destination object.

Type

Specifies the type of object.

Target Resource JNDI Name

Specifies the Java Naming and Directory Interface (JNDI) name of the bean.

This is a data entry field. To change the JNDI name bound to this bean, type the new name in this field.