[ 
https://issues.apache.org/jira/browse/CAMEL-12450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787746#comment-16787746
 ] 

Claus Ibsen commented on CAMEL-12450:
-------------------------------------

{code}
karaf@root()> camel:route-step camel-1 *

Step
        Camel Context: camel-1
Id                                  Count    Last (ms)   Delta (ms)    Mean 
(ms)     Min (ms)     Max (ms)    Self (ms)
route1                                  8            0            0            
2            0           19           20
  foo                                   8            0            0            
2            0           18           18
karaf@root()> camel:route-show camel-1 *
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<route xmlns="http://camel.apache.org/schema/spring"; customId="false" 
id="route1">
    <from uri="timer:start"/>
    <step customId="true" id="foo">
        <transform id="transform1">
            <simple>Hello ${body}</simple>
        </transform>
        <to id="to1" uri="mock:a"/>
    </step>
</route>
{code}

> 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, eip
>            Reporter: Luca Burgazzoli
>            Assignee: Claus Ibsen
>            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(...)
>     .step("step-id")
>         .process(...)
>         .to(...)
>     .end()
> {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)

Reply via email to