See also
http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html


On Fri, Oct 22, 2010 at 6:01 AM, ext2 <[email protected]> wrote:
>
>
> Hi:
>        Camel support interceptors for processor, but recently I encounter a
> requirement, it ask for a custom instrumentation strategy of from endpoint;
> for example , we need the statistics of how much times the message is
> successfully processed in a given time, and how much message is failed;
>
>        I think we could have three choice to achieve such purpose.
>        1) Do instrument things, in the from-endpoint.
>                it's bad, because it need to change the code of camel's
> consumer
>
>        2) Extend a policy processor to wrapper the whole route, and do
> measurement
>                It seems the solution is too heavy. But the solution does
> works, and now I am using this solution in my work;
>
>        3) Support a route level interceptor (just like the processor's
> interceptor, but it will wrapper the whole route).
>        It seems the solution is more lightweight than the policy-processor.
> How about to add such the support in camel?
>
> Thanks any suggestion
>
>
>
>
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to