Annotation Interface EnableIntegrationManagement


Enables default configuring of management in Spring Integration components in an existing application.

The resulting IntegrationManagementConfigurer bean is defined under the name integrationManagementConfigurer.

Since:
4.2
Author:
Gary Russell, Artem Bilan
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Use for disabling all logging in the main message flow in framework components.
  • Element Details

    • defaultLoggingEnabled

      String defaultLoggingEnabled
      Use for disabling all logging in the main message flow in framework components. When 'false', such logging will be skipped, regardless of logging level. When 'true', the logging is controlled as normal by the logging subsystem log level configuration.

      It has been found that in high-volume messaging environments, calls to methods such as logger.isDebuggingEnabled() can be quite expensive and account for an inordinate amount of CPU time.

      Set this to false for disabling logging by default in all framework components that implement IntegrationManagement (channels, message handlers etc). It turns off logging such as "PreSend on channel", "Received message" etc.

      After the context is initialized, individual components can have their setting changed by invoking IntegrationManagement.setLoggingEnabled(boolean).

      Returns:
      the value; true by default.
      Default:
      "true"