Logging the execution time over multiple routes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Logging the execution time over multiple routes

We have the following scenario. The aggregate has a timeout.
JMS/REST ---> transform --> aggregate --> Queue.

Queue --> transform-to-xml ---> SAP.

We want to find out the total time it took to send a payload into SAP. The
start time should be when the first payload in the batch was received.
Using that we can calculate the total time as the last step on the second

Is there a reliable way to propagate the start time of the payload across
the routes? I was thinking about using a header as it gets preserved over

Any suggestions ?


Rajith Muditha Attapattu <http://rajith.2rlabs.com/>