Disabling and enabling data capture

Recording of data is enabled by default, but takes effect only if you define a DataCaptureSource configurable service. You can disable recording for all of the data capture sources on an integration server by modifying the integration node runtime properties for that integration server.

Before you begin

There must be a queue manager associated with the integration node to use data capture. For more information, see Creating an integration node.

About this task

You might want to temporarily stop recording for an integration server for performance reasons, or to modify the integration server. You can also use these instructions to start recording again.

Procedure

You can use IBM Integration Bus runtime commands to disable recording for your integration server. Complete the following steps.

Review and edit the current setting on the ComIbmDataCaptureManager resource manager.
  • If you are using the runtime commands, complete the following steps:
    1. Enter the following command on an IBM Integration Bus command line, where integrationNodeName is the name of your integration node and integrationServer is the name of the integration server:
      mqsichangeproperties integrationNodeName 
        -e integrationServer -o ComIbmDataCaptureManager -a
      The command produces a response similar to this example:
      ComIbmDataCaptureManager
        uuid='ComIbmDataCaptureManager'
        userTraceLevel='none'
        traceLevel='none'
        userTraceFilter='none'
        traceFilter='none'
        enabled='true'
    2. Change the enabled property to false, by entering the following command:
      mqsichangeproperties integrationNodeName 
        -e integrationServer -o ComIbmDataCaptureManager -n enabled -v false

    Your change takes effect immediately.

What to do next

When you are ready to start recording again for your integration server, use the mqsichangeproperties command to change the enabled property to true, and restart the integration node.