760 WebSphere Business Integration Adapters
31.1 Developing the WebSphere Business Integration
Connect send service
This section provides instructions on building a service that passes a message to
WebSphere Business Integration Connect, so that it can be transmitted to
RedContract. After testing this service, it is integrated in the process model.
Based on the output of the first staff activity, the request is sent to the inhouse
technician or to the contractor via WebSphere Business Integration Connect.
31.1.1 Define JNDI resources
WebSphere Business Integration Connect uses its own queue manager and two
queues for receiving and sending documents. We first define these resources to
WebSphere Application Server by following these steps:
1. Remove the Maintenance_ProcessesEAR project from the server.
2. Restart the server.
3. Open the Administrative Console.
4. Define the queue connection factory as follows:
– Display name: partner_a.bcg.queue.manager
– JNDI name: jms/partner_a.bcg.queue.manager
– Queue Manager: partner_a.bcg.queue.manager
– Bindings: Client
– Channel Name: java.channel
– Hostname: studentx
– Port: 9999
5. Define the queue destination for sending as follows:
– Display name: XML_OUT
– JNDI name: jms/XML_OUT
– Base queue name: XML_OUT
– Expiry: UNLIMITED
6. Define the queue for receiving as follows:
– Display name: XML_IN
– JNDI name: jms/XML_IN
– Base queue name: XML_IN
– Expiry: UNLIMITED
7. Restart the server.