You don't have to add a Tracer to your Spring context yourself. Camel adds
one automatically if you have a CamelContext declared in Spring. Also your
don't have to do anything with the "trace" option in your Spring context.

I find that the easiest way to enable/disable tracing in production is
through JMX. Just navigate to the CamelContext MBean and modify the
"tracing" attribute. Additionally you can determine what should be traced by
modifying a few options in the Tracer MBean.

-----
Richard Kettelerij,
http://github.com/rkettelerij
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Enabling-tracing-in-production-tp3243013p3243143.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to