Specifies the name of a logical message-destination defined within an application. The message-destination-name matches the corresponding message-destination-name in the corresponding Java EE deployment descriptor file. Use when the message destination reference in the corresponding Java EE deployment descriptor file specifies a message-destination-link to a logical message-destination.
sun-web-app (sun-web.xml), sun-sip-app (sun-sip.xml), enterprise-beans (sun-ejb-jar.xml), sun-application-client (sun-application-client.xml)
The following table describes subelements for the message-destination element.
Table A–71 message-destination subelements| 
 Element  | 
 Required  | 
 Description  | 
|---|---|---|
| 
 only one  | 
 Specifies the name of a logical message destination defined within the corresponding Java EE deployment descriptor file.  | 
|
| 
 only one  | 
 Specifies the jndi-name of the associated entity.  |