Java 类org.springframework.boot.actuate.metrics.writer.MessageChannelMetricWriter 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:MetricsChannelAutoConfiguration.java   
@Bean
@ExportMetricWriter
@ConditionalOnMissingBean
public MessageChannelMetricWriter messageChannelMetricWriter(
        @Qualifier("metricsChannel") MessageChannel channel) {
    return new MessageChannelMetricWriter(channel);
}
项目:spring-boot-concourse    文件:MetricsChannelAutoConfiguration.java   
@Bean
@ExportMetricWriter
@ConditionalOnMissingBean
public MessageChannelMetricWriter messageChannelMetricWriter(
        @Qualifier("metricsChannel") MessageChannel channel) {
    return new MessageChannelMetricWriter(channel);
}
项目:contestparser    文件:MetricsChannelAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean
public MessageChannelMetricWriter messageChannelMetricWriter(
        @Qualifier("metricsChannel") MessageChannel channel) {
    return new MessageChannelMetricWriter(channel);
}