Annotation Type EnableIntegrationManagement


@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Import({MicrometerMetricsCaptorRegistrar.class,IntegrationManagementConfiguration.class})
public @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
  • Element Details

    • metersEnabled

      @Deprecated String[] metersEnabled
      Deprecated.
      this property is no longer used.
      Returns:
      the patterns.
      Default:
      {"*"}
    • defaultCountsEnabled

      @Deprecated String defaultCountsEnabled
      Deprecated.
      this property is no longer used.
      Returns:
      the value; false by default, or true when JMX is enabled.
      Default:
      "false"
    • defaultLoggingEnabled

      String defaultLoggingEnabled
      Use to disable 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 to disable logging by default in all framework components that implement IntegrationManagement (channels, message handlers etc). This 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"