EJB message destination references [Settings]
For each message destination reference and resource environment reference, specify the JNDI name under which the resource is known in the runtime environment.
Binding a message destination reference or resource environment reference maps a resource dependency of an enterprise bean to an actual resource available in the server runtime environment. At a minimum, we can achieve this mapping by specifying the JNDI name under which the message destination reference or resource environment reference is known in the runtime environment. By default, the JNDI name is retrieved from pre-existing bindings, or set to the value of the mapped-name specified in the message destination reference definition.
If a JNDI name mapping for a message destination reference or resource environment reference is defined in an ibm-ejb-jar-bnd.xml file in the bundle, the corresponding JNDI name is displayed in the JNDI Name column for that reference, otherwise the column is empty. We can modify any existing mappings, and specify new ones, as required, by entering the appropriate values in the JNDI Name column.
To view this panel in the administrative console, click one of the following paths:
- Applications > Application Types > Business-level applications > application_name > [Deployed assets] Add > Add Asset > asset_name > Wizard step: Bind EJB message destination references to administered objects
- Applications > Application Types > Business-level applications > application_name > composition_unit_name > [Additional Properties] EJB message destination references
The Bind EJB message destination references to administered objects wizard step and the EJB message destination references property are visible only if the OSGi application contains at least one JMS message destination reference or resource environment reference, defined either in an ejb-jar.xml file, or through an @Resource annotation on an enterprise bean.
General Properties
- Bundle symbolic name
- The non-localizable name for this bundle.
- Bundle version
- The version of this bundle.
The bundle symbolic name, together with the bundle version, uniquely identifies a bundle.
- EJB name
- The name of the enterprise bean that declares the message destination reference or resource environment reference.
- Reference name
- The name of a message destination reference or resource environment reference used in the application, if applicable, and is declared in the deployment descriptor of the EJB bundle.
- Resource Type
- The type of the message destination reference or resource environment reference.
Use this panel to specify bindings for any message-destination-ref (message destination reference) resource or resource-env-ref (resource environment reference) resource, as defined in the Java specification JSR-250: Common Annotations for the Java Platform. For example, the following are all types of message-destination-ref resource:
- Default messaging JMS queues destinations
- Default messaging JMS topic destinations
- JMS queue destination for IBM MQ
- JMS topic destination for IBM MQ
- JNDI name
- The JNDI name of the message destination or resource environment that is the mapping target of the resource reference.
Add an EBA asset to a composition unit by Add an EBA asset to a composition unit using wsadmin commands Modify the configuration of an OSGi composition unit Administrative console buttons Administrative console preferences
File name: was53.html
prettyPrint();