[camel] branch master updated: Fix camel-micrometer documentation references to METRICS_REGISTRY_NAME

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: Fix camel-micrometer documentation references to METRICS_REGISTRY_NAME

jamesnetherton-2
This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new cffca91  Fix camel-micrometer documentation references to METRICS_REGISTRY_NAME
cffca91 is described below

commit cffca9124a935036186888ff79f2efdaedc97f36
Author: James Netherton <[hidden email]>
AuthorDate: Tue Dec 4 09:11:00 2018 +0000

    Fix camel-micrometer documentation references to METRICS_REGISTRY_NAME
---
 components/camel-micrometer/src/main/docs/micrometer-component.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-micrometer/src/main/docs/micrometer-component.adoc b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
index ffbd6e2..8d44f04 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -141,7 +141,7 @@ public static class MyConfig extends SingleRouteCamelConfiguration {
         };
     }
 
-    @Bean(name = MicrometerComponent.METRICS_REGISTRY_NAME)
+    @Bean(name = MicrometerConstants.METRICS_REGISTRY_NAME)
     public MeterRegistry getMeterRegistry() {
         CompositeMeterRegistry registry = ...;
         registry.add(...);
@@ -165,7 +165,7 @@ class MyBean extends RouteBuilder {
 
     @Produces
     // If multiple MetricRegistry beans
-    // @Named(MicrometerComponent.METRIC_REGISTRY_NAME)
+    // @Named(MicrometerConstants.METRICS_REGISTRY_NAME)
     MetricRegistry registry() {
         CompositeMeterRegistry registry = ...;
         registry.add(...);
@@ -561,7 +561,7 @@ and add a `JmxMeterRegistry` instance:
 [source,java]
 ----
 
-    @Bean(name = MicrometerComponent.METRICS_REGISTRY_NAME)
+    @Bean(name = MicrometerConstants.METRICS_REGISTRY_NAME)
     public MeterRegistry getMeterRegistry() {
         CompositeMeterRegistry meterRegistry = new CompositeMeterRegistry();
         meterRegistry.add(...);