【发布时间】:2014-10-17 07:41:19
【问题描述】:
我在登录骆驼时遇到了一些问题。我有这样的日志语句:
from(jmsOutboundInEndpoint).routeId("outbound")
.to(generateLogEndpoint("outbound.in"))
.process(endpointProcessor)
.to(generateLogEndpoint("outbound.endpoint.set"))
.to(DIRECT_REQUEST_OUTBOUND)
.log(LoggingLevel.DEBUG, "Message body: ${body}");
在日志文件中,我可以看到 Message body: ${body} 而不是消息的实际正文。我做错了什么?非常感谢您的帮助!
【问题讨论】:
-
更改代码以使用
simple("Message body: ${body}")
标签: java apache apache-camel