[
https://issues.apache.org/jira/browse/CAMEL-12450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449527#comment-16449527
]
Claus Ibsen commented on CAMEL-12450:
-------------------------------------
And there is Java API you can use from CamelContext to get hold of a JMX
processor by its id, so you dont have to work with the nasty JMX native api.
The CiA2 book has an example in the management chapter.
> 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)