This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 74afd53d20af3e344fa1e734e784b270c91a312f Author: Christian Ohr <christian....@gmail.com> AuthorDate: Wed May 16 14:20:27 2018 +0200 CAMEL-11600:fix docs, also from camel-metrics that was accidentally modified --- components/camel-metrics/src/main/docs/metrics-component.adoc | 4 ++-- components/camel-micrometer/src/main/docs/micrometer-component.adoc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/camel-metrics/src/main/docs/metrics-component.adoc b/components/camel-metrics/src/main/docs/metrics-component.adoc index 71354cd..bbc994b 100644 --- a/components/camel-metrics/src/main/docs/metrics-component.adoc +++ b/components/camel-metrics/src/main/docs/metrics-component.adoc @@ -500,7 +500,7 @@ following options: |Name |Default |Description |useJmx |false |Whether to report fine grained statistics to JMX by using the `com.codahale.metrics.JmxReporter`. + -Notice that if JMX is percentileHistogramEnabled on CamelContext +Notice that if JMX is enabled on CamelContext then a `MetricsRegistryService` mbean is enlisted under the services type in the JMX tree. That mbean has a single operation to output the statistics using json. Setting `useJmx` to true is only needed if you @@ -576,7 +576,7 @@ The following options is supported on the factory: |Name |Default |Description |useJmx |false |Whether to report fine grained statistics to JMX by using the `com.codahale.metrics.JmxReporter`. + -Notice that if JMX is percentileHistogramEnabled on CamelContext +Notice that if JMX is enabled on CamelContext then a `MetricsRegistryService` mbean is enlisted under the services type in the JMX tree. That mbean has a single operation to output the statistics using json. Setting `useJmx` to true is only needed if you diff --git a/components/camel-micrometer/src/main/docs/micrometer-component.adoc b/components/camel-micrometer/src/main/docs/micrometer-component.adoc index f30ef12..b72a290 100644 --- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc +++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc @@ -435,7 +435,7 @@ following options: |durationUnit |TimeUnit.MILLISECONDS |The unit to use for duration in when dumping the statistics as json. |======================================================================= -If JMX is percentileHistogramEnabled in the CamelContext, the MBean is registered in the `type=services` tree +If JMX is enabled in the CamelContext, the MBean is registered in the `type=services` tree with `name=MicrometerRoutePolicy`. @@ -483,7 +483,7 @@ MicrometerMessageHistoryService service = context.hasService(MicrometerMessageHi String json = service.dumpStatisticsAsJson(); ---- -If JMX is percentileHistogramEnabled in the CamelContext, the MBean is registered in the `type=services` tree +If JMX is enabled in the CamelContext, the MBean is registered in the `type=services` tree with `name=MicrometerMessageHistory`. @@ -511,7 +511,7 @@ MicrometerEventNotifierService service = context.hasService(MicrometerEventNotif String json = service.dumpStatisticsAsJson(); ---- -If JMX is percentileHistogramEnabled in the CamelContext, the MBean is registered in the `type=services` tree +If JMX is enabled in the CamelContext, the MBean is registered in the `type=services` tree with `name=MicrometerEventNotifier`. -- To stop receiving notification emails like this one, please contact acosent...@apache.org.