Logging simple text in Apache Camel logs
问题 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. 回答1: Yes see the log eip http://camel.apache.org/logeip.html This allows you to log human