WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Testing Java code

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

Before you test your Java code, you must build the pattern plug-ins; see Building pattern plug-ins.
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.

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.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:53


Task topicTask topic | Version 8.0.0.7 | bc31040_