You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christophe Pache <ch...@gmail.com> on 2015/08/19 06:40:18 UTC

camel log taking a string

Hello everyone.

I'm wondering why the log keyword might not take an expression. As far as I
know, the "message" is turned into an expression in the
LogDefinition.createProcessor method. is it because it should only use the
simple expression language?

Thanks a lot,

Christophe



--
View this message in context: http://camel.465427.n5.nabble.com/camel-log-taking-a-string-tp5770813.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel log taking a string

Posted by Claus Ibsen <cl...@gmail.com>.
Yes its a logging message and only for simple language. And a string
is the best to use.
http://camel.apache.org/logeip



On Wed, Aug 19, 2015 at 6:40 AM, Christophe Pache <ch...@gmail.com> wrote:
> Hello everyone.
>
> I'm wondering why the log keyword might not take an expression. As far as I
> know, the "message" is turned into an expression in the
> LogDefinition.createProcessor method. is it because it should only use the
> simple expression language?
>
> Thanks a lot,
>
> Christophe
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-log-taking-a-string-tp5770813.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2