java - Using Simple language in Camel log -
java - Using Simple language in Camel log -
i have problem logging in camel. have log statement this:
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}");
and in log file can see message body: ${body}
instead of actual body of message. i'm doing wrong? grateful help!
log(logginglevel.debug, "message body: ${body}")
should work properly. please, insert log statement straight after from
statement , verify if log correct.
java apache apache-camel
Comments
Post a Comment