When you get a stack trace and message history from an exception, it tells you how long the message spent in each endpoint. I'd take a look at that code for some ideas.
On 30 June 2014 06:30, Arthanarisamy Annamalai <[email protected]> wrote: > Hi, > > I am trying to Log time taken on Camel, in which i see that the time taken > by 'ExchangeSentEvent' is more than 'ExchangeCompletedEvent' > > Below are the logs, > > ExchangeCompletedEvent - Took 2385 millis for the exchange on the route > ExchangeSentEvent - Took 2401 millis to send to external system : Endpoint > > Tried to go through camel's event java doc from below link and couldn't > get > info on when the events are triggered. > > > http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/management/event/package-summary.html > > Kindly let me know why is the time difference between Completed and Sent. > Or if there will be time difference between above said events, please do > let > me know why is the delay. > > Thanks, > Arthanarisamy > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ExchangeSentEvent-spent-time-is-more-than-ExchangeCompletedEvent-tp5753047.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker <[email protected]>
