680 WebSphere Business Integration Adapters
Figure 30-51 Update resource reference
7. Save and close the deployment descriptor.
30.2.3 Defining resources in the test server
The EJB for the adapter invocation uses two resources that need to be defined to
WebSphere. The server will likely be in a state of need to be restarted, but you
can ignore that for now. To define resources:
1. To avoid a possible problem during the creation of the resources, remove the
project from the server. Right-click the server and select Add and remove
projects.
2. In the section Configured projects, select the Maintenance_ProcessesEAR
project and click Remove.
3. Restart the server.
4. Right-click the server WBISF_Test and select Run administrative console.
Chapter 30. Adding human interaction using WebSphere BI Server Foundation 681
5. Alternatively, we can open Internet Explorer and go to
http://localhost:9090/admin.
6. When the log-on prompt appears, provide db2admin as the user ID and
itso4you as the password.
7. In the left pane, select Resources WebSphere MQ JMS Provider.
8. In the right pane, scroll down and click WebSphere MQ Queue Connection
Factories. A list of existing queue connection factories is shown
(Figure 30-52).
Figure 30-52 List of queue connection factories
Note: When we installed our application server, we enabled security, and
itso4you is our db2admin password.
682 WebSphere Business Integration Adapters
9. Click New.
10.Set the name of the queue connection factory to REDBROKER.
11.Set the JNDI name to the value used in Figure 30-51 on page 680.
Figure 30-53 Create queue connection factory
12.Scroll down and set the MQ connection attributes, as shown in Figure 30-54
on page 683.
13.Click OK to save the new resource.
Note: We use an MQ client connection to talk to the broker queue
manager. The broker queue manager intercepts the message to add
monitoring, as we see in Part 8, “Looking after the run-time environment”
on page 823. Normally, this is not needed.
Chapter 30. Adding human interaction using WebSphere BI Server Foundation 683
Figure 30-54 Create queue connection factory
Figure 30-55 on page 684 shows the updated list of queue connection
factories.
684 WebSphere Business Integration Adapters
Figure 30-55 List of queue connection factories
14.In the left pane, select Resources WebSphere MQ JMS Provider.
15.In the right pane, scroll down and click WebSphere MQ Queue
Destinations. A list of existing queue destinations is shown (Figure 30-56 on
page 685).
16.Click New.

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.