I would take a look at the Debug and breakpoint API: https://camel.apache.org/camel-2x-debugger-api.html
On Wed, Jan 8, 2014 at 2:50 PM, gilboy <josephoto...@gmail.com> wrote: > Hi > > I have a simple route defined in the Spring DSL. > > <route> > <from:endpoint> > <to:custom-endpoint> > <log message="Time to make call to custom endpoint is XXXX"/> > <bean ref="bean-name" method-name="method-name"/> > ...... > </route> > > Basically, I would like to output the time taken to call the custom > endpoint. Hence, I was thinking of adding the current time as a header > before the call to the custom endpoint and then comparing this date with a > new date after the call. However, I am struggling to do the Simple > Expression language. > > Any suggestions much appreciated > > Thanks > Joe > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Measuring-time-to-make-call-to-custom-endpoint-tp5745754.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta