Chapter 30. Adding human interaction using WebSphere BI Server Foundation 685
Figure 30-56 List of queue destinations
17.Set the name of the destination to RM2REDCONTRACT.REQUEST.
18.Set the JNDI name to the value that is used in Figure 30-50 on page 679.
19.Set the Expiry to UNLIMITED.
20.Scroll down and set the attribute Base Queue Name to
REDCONTRACT.EMITTER.
Again, we use this queue for monitoring purposes. Normally, you can use the
adapter request queue directly.
21.Click OK.
686 WebSphere Business Integration Adapters
Figure 30-57 Define new queue destination
22.Figure 30-58 on page 687 shows the updated list of queue destinations. At
the top of Figure 30-58 on page 687, we see a link to save the new resources
to the server. Click the Save link.
Chapter 30. Adding human interaction using WebSphere BI Server Foundation 687
Figure 30-58 List of queue destinations
23.Click Save again (Figure 30-59 on page 688).
688 WebSphere Business Integration Adapters
Figure 30-59 Save new resources to the server
24.Add the project to the server again.
25.Restart the server so that these new resources and the extended
Maintenance_Processes project are picked up by the server.
Chapter 30. Adding human interaction using WebSphere BI Server Foundation 689
26.During the restart of the server, review the information in the console to verify
that the new resources are found and bound (Example 30-2).
Example 30-2 Binding JMS resources during server start
ResourceMgrIm I WSVR0049I: Binding wbisf.queue.manager as
jms/wbisf.queue.manager
ResourceMgrIm I WSVR0049I: Binding inhouse.maintenance.request as
jms/inhouse.maintenance.request
ResourceMgrIm I WSVR0049I: Binding REDBROKER as jms/wbia/ibm/com/RM2QCF
ResourceMgrIm I WSVR0049I: Binding RM2REDCONTRACT.REQUEST as
jms/wbia/ibm/com/RM2REDCONTRACT.REQUEST
30.2.4 Testing the adapter service using the test client
In a very similar way to the InhouseSend service, you can use the test client to
test the adapter service. However, make sure that the following components are
running before you begin:
RMConnector is running
The broker is running
The RedMaintenance application is running
To test the adapter service:
1. Right-click the EJB and select Run On Server.
2. As before, create a new instance of the EJB (Figure 30-60 on page 690).

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.