[
https://issues.apache.org/jira/browse/CAMEL-12450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449595#comment-16449595
]
Claus Ibsen edited comment on CAMEL-12450 at 4/24/18 10:25 AM:
---------------------------------------------------------------
A sample how you can do this yourself in Camel 2.21
[https://github.com/apache/camel/commit/623d620ffa50460e240e1e0e01894e67fce0889c]
was (Author: davsclaus):
A sample how you can do this today
https://github.com/apache/camel/commit/623d620ffa50460e240e1e0e01894e67fce0889c
> Ability to group processors and gather related metrics
> -------------------------------------------------------
>
> Key: CAMEL-12450
> URL: https://issues.apache.org/jira/browse/CAMEL-12450
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Luca Burgazzoli
> Priority: Minor
> Fix For: 3.0.0
>
>
> It would be nice if we can add some marker inside a route to group logical
> processors together and gather related metrics:
> As example:
> {code}
> from(...)
> .beginStep("step-id")
> .process(...)
> .to(...)
> .endStep("step-id")
> {code}
> Then we need to have some custom events like:
> - StepStartedEvent
> - StepCompletedEvent
> - StepFailedEvent
> The people may be able to determine how long a logical step has last, if it
> has a failure, the number of exchanges processed so far and so on
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)