@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(org.springframework.messaging.MessageChannel channel) |
@Bean @ExportMetricWriter @ConditionalOnMissingBean public MessageChannelMetricWriter messageChannelMetricWriter(@Qualifier(value="metricsChannel") org.springframework.messaging.MessageChannel channel)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.