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

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -