Looks like you have Quotations around the ${body} making it literal, try
"Message body: "+${body} instead....

Hope this helps


On Thu, 26 Jan 2012 13:00:25 -0800 (PST), honghebox <aoesh...@gmail.com>
wrote:
> I'm trying to log message body using something like:
> 
> from ("jms:mytestqueue").
> setBody().simple("Say Hello").
> .log(LoggingLevel.DEBUG, "Message body: ${body}")
> ..............................
> 
> In my log file, instead of seeing "Message body: Say Hello" I got
"Message
> body: ${body}", any extra configuration I need to do get the ${body}
place
> holder work?
> 
> Thanks in advance.
> 
> 
> 
> 
> --
> View this message in context:
>
http://camel.465427.n5.nabble.com/help-with-log-DSL-tp5433969p5433969.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

-- 
Thanks,
Chris Odom
512:799-0270

Reply via email to