I would like to print tail log at end of the request with elapsed time as
below. Is in Apache Camel any way 
we can know the parent end point. So we maintain the Parent-child relation
ship as below.
  
Trail log:

-servlet:///jaxrsExample?matchOnUriPrefix=true  took 20 ms
--cxfbean:jaxrsServices took 10 ms
--helloworld    took  5ms
--direct:start  took   5ms
---helloworld-1        3 ms
---helloworld-2        3ms


Parent route
=========== 
<route xmlns="http://camel.apache.org/schema/spring"; trace="true">
<from uri="servlet:///jaxrsExample?matchOnUriPrefix=true" />
  <to uri="cxfbean:jaxrsServices" />
  <bean ref="helloworld"/>
  <to uri="direct:start"/>
</route>

Child route
========
 <route xmlns="http://camel.apache.org/schema/spring"; trace="true">
    <from uri="direct:start"/>
    <bean ref=“helloWorld-1"/>
    <bean ref=“helloWorld-2"/>
</route>
 




--
View this message in context: 
http://camel.465427.n5.nabble.com/tail-logging-How-to-know-parent-endpoint-from-child-exchange-tp5768373.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to