Running the sample application

In this task, you will run the adapter sample application to test the processing of an event during inbound operations. You can check the accuracy of the output values from the event.

Before you begin

You will run the sample using the WebSphere(R) Integration Developer test client.

Steps for this task

  1. Select the Business Integration module and server

    From the Business Integration perspective of WebSphere Integration Developer, select the JDBC module in the Business Integration tab. Right-click Test > Attach.

    The WebSphere Integration Developer test client displays the Events window. On the right side, Default Module Test is displayed in the Configuration field. The Module field shows JDBC.

    Click the Configurations tab on the bottom left. From the Configurations window, click + beside Monitors to ensure that the monitor JDBCInboundInterface <export> Component1 exists for the export. If you completed Scenario 1, this monitor file was generated for you. If you completed Scenario 2, this file was created in Step 9, "Save the adapter project. "

    This image is described in the surrounding text.

    Click the Events tab on the bottom left side and then click Continue. From the Select Deployment Location pop-up window, select the application server to run the application. Select WebSphere Process Server v6.0 and click Finish. The pop-up window Starting the integration test client appears.

  2. Test event processing
    To test event processing, you can insert an event manually into the sample application event table. Use the following example as a guide for inserting the event into the event store with a SQL statement:
    INSERT INTO wbia_jdbc_eventstore (object_key, object_name, object_function, 
    event_priority, event_status) 
    VALUES ('11234', 'InboundRtasserCustomerBG', 'Create', 1, 0) 

    When the monitored component receives the event, an entry appears in the Events window. See the following example Events window.

    This image is described in the surrounding text.


Terms of use |

Last updated: Thu Mar 23 13:24:32 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)