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

Modifying the CMP samples

Modify the CMP samples to change the parameters that they use to complete their tasks.

If you change a sample, you must recompile the source code to implement those changes. For example, you might choose to change the default connection parameters. If you modify these and other values, you change the behavior of the sample.

To modify a sample, perform the following steps:

  1. Set up the environment by following the instructions provided in Configuring an environment for developing and running CMP applications.
  2. Locate the source file for the sample that you want to change.
    The source files for the samples are located in the following directories:
    Deploy BAR sample
    install_dir/sample/ConfigManagerProxy/cmp/DeployBar.java
    Broker management sample
    install_dir/sample/ConfigManagerProxy/cmp/BrokerInfo.java
    CMP API Exerciser sample
    install_dir/sample/ConfigManagerProxy/cmp/exerciser.java
  3. Open the source file, and modify the appropriate parameters.
  4. Save and recompile the source file.
Next: Run the modified sample by following the instructions in the appropriate link:
Notices | Trademarks | Downloads | Library | Support | Feedback

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

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


Task topicTask topic | Version 8.0.0.7 | ae33320_