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

Message Broker API (CMP) trace

Enable or disable service trace for the Message Broker API (also known as the CMP API).

Enabling CMP API trace

To enable tracing for the CMP API for your application, set the environment variable MQSI_CMP_TRACE, where <filename> is the name of the file to which the trace is sent:
export MQSI_CMP_TRACE=<filename>
Or you can enable tracing by using the following API call in your code:
// Enable Administration service trace
   BrokerProxy.enableAdministrationAPITracing("outputfile.txt");

This request logs all calls to the CMP API to the outputfile.txt file in the current directory. All CMP API activity in the entire Java™ virtual machine is logged.

You can also enable CMP API service trace from the File menu of the CMP API Exerciser.

In addition, because the CMP API uses the WebSphere® MQ Java client, you can enable WebSphere MQ Java client tracing.

Disabling CMP API trace

To disable tracing for the CMP API for your application, use the following API call in your code:
// Disable Administration service trace
   BrokerProxy.disableAdministrationAPITracing();

You can also disable CMP API service trace from the File menu of the CMP API Exerciser.

Notices | Trademarks | Downloads | Library | Support | Feedback

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

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


Task topicTask topic | Version 8.0.0.7 | au20102_