Chapter 31. Integrating and automating the process 799
Figure 31-41 Change the listener port of the MDB
11.Select the References tab.
12.Select the resource environment reference and change the JNDI name.
800 WebSphere Business Integration Adapters
Figure 31-42 Change the JNDI name for the queue destination
13.Select the resource reference and change the JNDI name of the queue
connection factory.
Chapter 31. Integrating and automating the process 801
Figure 31-43 Change the JNDI name for the queue connection factory
14.Save the changes and close the EJB deployment descriptor editor.
31.2.3 Defining resources
Before you can test the MDB and the EJB, you need to define the listener port
and one extra queue destination by following these steps:
1. Log on to Administrative Console (Figure 31-44 on page 802).
2. Select Servers Application Servers.
3. Select server1 in the right pane.
4. Scroll down and click Message Listener Service.
5. Select Listener Ports.
802 WebSphere Business Integration Adapters
6. Click New.
7. Use the following values:
Display Name: maintenance.process.listener.port
Destination JNDI Name:
jms/wbia/ibm/com/RM2REDCONTRACT.DELIVERY
Connection Factory JNDI Name: jms/wbia/ibm/com/RM2QCF
8. Click OK.
Figure 31-44 Create a listener port
9. Create a new queue destination as follows:
Display Name: RM2REDCONTRACT.DELIVERY
JNDI Name: jms/wbia/ibm/com/RM2REDCONTRACT.DELIVERY
Base Queue Name: REDCONTRACT.DELIVERY
Chapter 31. Integrating and automating the process 803
Figure 31-45 New queue destination
10.Save the changes to the master configuration of the Test server using the link
at the top of the page.
31.2.4 Testing the MDB and EJB
To test the MDB and the EJB, follow these steps:
1. Right-click the Test server and select Add and Remove Projects.
2. Add the project Process_StartEJBEAR to the server and click Finish.

Get WebSphere Business Integration Adapters: An Adapter Development and WebSphere Business Integration Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.