camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to pass '{' in simple languge expression?
Date Fri, 21 Feb 2014 12:49:00 GMT
Hi

What version of Camel do you use?

You could try \u escape the { } ,eg \u1234 (where 1234 is the numeric
value of it)


On Fri, Feb 21, 2014 at 11:06 AM, Mariusz <mariusz_kow@wp.pl> wrote:
> Hi,
> I want to use somethig like this:
>
> from("file:test?fileName=${bean:Utils.getFileName('file.dat.{0}.gz',
> 'yyyyDDmm')}").to(...)
>
> Method is executed but there are passed 'null' parameters. Without {0}
> method is working fine.
>
> Please advise.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-pass-in-simple-languge-expression-tp5747738.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message