Hi Take a look at event notifier as you got it out of the box then http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html
On Wed, Jan 8, 2014 at 11:50 PM, gilboy <[email protected]> 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
