Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
How do I enable streams when debug logging messages in CamelAvailable as of Camel 2.1 When you run Camel with These instances are not logged by default
You will see this in the log as: DEBUG ProducerCache - >>>> Endpoint[direct:start] Exchange[Message: [Body is instance of java.xml.transform.StreamSource]] Here we have a message which is XML stream based. Customizing from Java DSLYou add to the Camel properties the flag to log streams. context.getProperties().put(Exchange.LOG_DEBUG_BODY_STREAMS, "true"); Notice default is Customizing from Spring DSLYou add to the Camel properties the flag to log streams. <camelContext> <properties> <property key="CamelLogDebugBodyStreams" value="true"/> </properties> </camelContext> Notice default is |