After creating the MDB, modify the EJB deployment descriptor.
Procedure
In the Project Explorer view, expand TemperatureEvent_EJB.
Double-click Deployment Descriptor: TemperatureEvent_EJB. The EJB deployment descriptor editor opens.
In the Enterprise JavaBeans™ section of the Overview page
in the EJB deployment descriptor editor, click TemperatureEventTaskAgent. The Bean page displays.
Scroll in the top right pane to find the Activation Configuration
section and click Add.
Complete the following tasks in the Add Activation Configurations window:
For the name, select destinationType.
For the value, select javax.jms.Topic.
Click Finish.
Scroll to the bottom right pane to find the WebSphere® Bindings section and complete
the following tasks:
Select JCA Adapter.
For the ActivationSpec JNDI name, enter eis/TemperatureEventAS.