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
        
        
                 


Reply via email to