WebSphere Message Brokers
File: au20102_
Writer: Jane Brockbank

Task topic

This build: July 31, 2007 21:39:57

Configuration Manager Proxy trace

You can enable and disable service trace for the Configuration Manager Proxy (CMP).

Enabling Configuration Manager Proxy trace

To enable tracing for the Configuration Manager Proxy for your application, use the following command in your code:
// Enable Config Manager Proxy service trace
   ConfigManagerProxy.enableTracing("outputfile.txt");

This logs all calls to the Configuration Manager Proxy to the outputfile.txt file in the current directory. All Configuration Manager Proxy activity in the entire Java Virtual Machine is logged.

You can also enable Configuration Manager Proxy service trace from the File menu of the Configuration Manager Proxy API Exerciser.

In addition, because the Configuration Manager Proxy uses the MQ Java client, you can enable MQ Java client tracing.

Disabling Configuration Manager Proxy trace

To disable tracing for the Configuration Manager Proxy for your application, use the following command in your code:
// Disable Config Manager Proxy service trace
   ConfigManagerProxy.disableTracing();

You can also disable Configuration Manager Proxy service trace from the File menu of the Configuration Manager Proxy API Exerciser.

Related reference
Service trace
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:39:57

au20102_ This topic's URL is: