IBM Integration Bus, Version 10.0.0.0 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


Testing Java code

After writing Java™ code to modify pattern instances, test the code to check that it works correctly.

Before you begin

Before you test your Java code, you must build the pattern plug-ins; see Building pattern plug-ins.

About this task

You can test your Java code either by creating an instance of a pattern and checking that it is modified as you expect or by using the Java debugger to step through the code.

Procedure

What to do next

You can either change your Java code and retest it or you can package and distribute your user-defined pattern:
To ensure that changes in your Java code are included in your generated pattern, change the version number of the Java plug-in, as described in the following steps.
  1. Update the version number of the Java plug-in in manifest.mf.
  2. Update the version number of the pattern on the Create Pattern tab.
  3. Re-create the pattern plug-ins and pattern archive, as described in Building pattern plug-ins.

    To check that the pattern archive contains the correct versions of the plug-ins, you can look at the feature.xml file.

  4. Install the pattern.

bc31040_.htm | Last updated 2015-03-27 19:27:52