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_...@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: cib...@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