You can use the .log in your routes, via the log EIP (
http://camel.apache.org/logeip.html).
I tested the route segment supplied in the original message (via
Camel 2.6.0-fuse-01-09) ::
.setBody().simple("Say Hello")
.log(LoggingLevel.DEBUG, "Message body: ${body}")
.. and it works as expe
Sorry was thinking Spring/Blueprint not Java DSL.
you cant not really do a .log() in Java DSL you need to use a .to()
go look at http://camel.apache.org/log.html
try .to("log:PACKAGE?level=DEBUG&showBody=true")
where PACKAGE is the java package space for logging. ex:
log:com.national?...
--
T
No, without quotations around ${body}, you code even won't compile.
--
View this message in context:
http://camel.465427.n5.nabble.com/help-with-log-DSL-tp5433969p5433989.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
uot; 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.