Configuring the Eclipse environment to run custom integration applications

Use Eclipse facilities to configure the environment to run your custom integration applications.

About this task

To run your custom integration applications by using Eclipse, you must update the CLASSPATH environment variable:

Procedure

  1. In your Eclipse environment, select File > New > Project.
    The New Project wizard opens.
  2. Select Java Project from the options displayed.
    Click Next. The New Java Project window opens.
  3. Enter a name for your new project.
    Click Next.
  4. Select the Libraries tab, and click Add External Jars.
  5. To set up the build environment, navigate to the install_dir/common/classes subdirectory.
    For example, for Version 10.1 on Windows operating systems, navigate to the directory C:\Program Files\IBM\IIB\10.1.0.3\common\classes.
    Select the file IntegrationAPI.jar, and click Open. The file is added to the list in the window for the Libraries tab.
  6. When you have added the file IntegrationAPI.jar to the build path, set up the runtime environment.
    Click Add External Jars again, and navigate to the install_dir/common/jetty/lib subdirectory.
    Select each of the JAR files in that directory, and click Open. These files are also added to the list.
  7. Click Finish to close the New Project wizard.

What to do next

Use the Eclipse development tools to build and run your custom integration applications.
If you want your application to connect to a secured integration node that requires a user ID and password, then you must set environment variables for these credentials. Use the following steps:
  1. In your Eclipse environment, select the java project, right-click, and select Properties.
  2. Click Run/Debug Settings.
  3. Select New... > Java Application, and click the Environment tab.
  4. Add the following environment variables, and values for the user ID and password:
    • MQSI_CMP_USERNAME
    • MQSI_CMP_PASSWORD