676 WebSphere Business Integration Adapters
Figure 30-47 Import connector resources in service project
For this specific scenario, you need to make a slight change to the WSDL. When
you want to invoke the adapter directly, no change is required. However, in our
scenario, we want to add monitoring to the application. Therefore, we need
ensure that the message broker intercepts the call to the adapter. The message
broker can then generate monitoring data that can be used in WebSphere
Business Integration Monitor. (We implement this monitoring logic in Part 8,
“Looking after the run-time environment” on page 823.)
To meet the message requirements of the message broker, the message must
have a correct RFH, including a message set, format, and type. However, in the
WSDL, there is no information about message sets. To add message set
information to the WSDL:
1. Open the WSDL RM2ConnectorJMSBindings.wsdl and select the source
view.
The original JMSType information is shown in Figure 30-48 on page 677.
Note that there is no message set information. However, there is a message
domain, message type, and format. The message set should be added
between the two slash (/) characters.