Is is possible to log simple text in Camel as follows
<route>
<from uri="direct:cxlrefdata"/>
<to uri="log:'Hello World'" />
</route>
I want to log this message, 'Hello World' in log, but all the examples which I find in Apache Camel site are for logging route messages.
e.g
<route>
<from uri="direct:t1"/>
<to uri="log:output?showAll=true" />
</route>
I want something simple which can log test messages.
Yes see the log eip http://camel.apache.org/logeip.html
This allows you to log human readable messages to the log. You could have spotted it, by the green tip box on the log component page: http://camel.apache.org/log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With