@Configuration @ConditionalOnClass(value=org.springframework.messaging.MessageChannel.class) @ConditionalOnBean(name="metricsChannel") public class MetricsChannelAutoConfiguration extends Object
Auto-configuration
for writing metrics to a
MessageChannel
.Constructor and Description |
---|
MetricsChannelAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
MessageChannelMetricWriter |
messageChannelMetricWriter(MessageChannel channel) |
@Bean @ExportMetricWriter @ConditionalOnMissingBean public MessageChannelMetricWriter messageChannelMetricWriter(@Qualifier(value="metricsChannel") MessageChannel channel)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.