Use this procedure to specify the name of the destination to which the message-driven bean wants to be subscribed, and also to specify the name of the connection factory that will be used by the EJB Container to obtain connections so that the bean may be registered as a message listener.
1. Open the ejb-j2ee-engine.xml.
2. From the right-hand pane, choose the Enterprise Beans tab.
3. Choose message-driven beans → your message-driven bean.
4. In the Destination name field, enter the name of the Topic or the Queue to which your bean wants to be subscribed.
5. In the Connection factory name field, enter the name of the connection factory.
See also:
Specifying Bean-Specific Properties