You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/09/25 06:04:20 UTC
[camel] branch master updated: Docs update - TimerAction should be
MetricsTimerAction
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
The following commit(s) were added to refs/heads/master by this push:
new 29c11a0 Docs update - TimerAction should be MetricsTimerAction
new ff566ad Merge pull request #3189 from alex-nt/patch-1
29c11a0 is described below
commit 29c11a02e5a8077718cfc2bed33ccb878140b732
Author: Alex <12...@users.noreply.github.com>
AuthorDate: Wed Sep 25 06:43:24 2019 +0300
Docs update - TimerAction should be MetricsTimerAction
In https://github.com/apache/camel/commit/4a84f061f74f759e77d45c369a95b704f38c1a92#diff-7dccb1916e4f48ce43acf6ebc21fbbb9 `TimerAction` was replaced by `MetricsTimerAction`.
---
components/camel-metrics/src/main/docs/metrics-component.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-metrics/src/main/docs/metrics-component.adoc b/components/camel-metrics/src/main/docs/metrics-component.adoc
index 3a25ecc..a4020eb 100644
--- a/components/camel-metrics/src/main/docs/metrics-component.adoc
+++ b/components/camel-metrics/src/main/docs/metrics-component.adoc
@@ -439,14 +439,14 @@ component URI.
|=======================================================================
|Name |Description |Expected type
|CamelMetricsTimerAction |Override timer action in URI
-|`org.apache.camel.component.metrics.timer.TimerEndpoint.TimerAction`
+|`org.apache.camel.component.metrics.MetricsTimerAction`
|=======================================================================
[source,java]
----
// sets timer action using header
from("direct:in")
- .setHeader(MetricsConstants.HEADER_TIMER_ACTION, TimerAction.start)
+ .setHeader(MetricsConstants.HEADER_TIMER_ACTION, MetricsTimerAction.start)
.to("metrics:timer:simple.timer")
.to("direct:out");
----