Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D8B410B2D for ; Fri, 21 Feb 2014 12:49:53 +0000 (UTC) Received: (qmail 31520 invoked by uid 500); 21 Feb 2014 12:49:48 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 31463 invoked by uid 500); 21 Feb 2014 12:49:47 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 31450 invoked by uid 99); 21 Feb 2014 12:49:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Feb 2014 12:49:46 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.219.46 as permitted sender) Received: from [209.85.219.46] (HELO mail-oa0-f46.google.com) (209.85.219.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Feb 2014 12:49:41 +0000 Received: by mail-oa0-f46.google.com with SMTP id n16so4089321oag.19 for ; Fri, 21 Feb 2014 04:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=3hTr9e+0lX7Www5N7CoFv7pmn0uiTjsfc9HCZF1A2jQ=; b=gjqDzfe8E10hlrNnrLqpTP+8lwBj4OJXzhLQ5rP5AK6/+lZgk6VKmqRPihSLztM504 dWIALGDMYS2/AG9ryyAK+CS4goVm4wF6Q8SVPco/xndrwE0DQMGw+XMnLMJzY8x4yvmt mqm02hdaKH1gfiflRZLO7zFsCNxiFnb7OlpOErzurQEJEpNEGfvGx+0aZb7dj2JTwcej e4sSNi8uTJmW8VhjXJrgXOzIKoALyx8kNU+fRVb03+cahcLIcPj7vJLMwC355hNhTVfv 67SLjudgd5IRuyZg844ZZuz36z5Mecwm2F9Rf3ygSC2b3SQgxFJLWtWe5IJsiVJP5IiK AhzA== X-Received: by 10.182.102.7 with SMTP id fk7mr4708553obb.28.1392986960677; Fri, 21 Feb 2014 04:49:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.61.17 with HTTP; Fri, 21 Feb 2014 04:49:00 -0800 (PST) In-Reply-To: <1392977186552-5747738.post@n5.nabble.com> References: <1392977186552-5747738.post@n5.nabble.com> From: Claus Ibsen Date: Fri, 21 Feb 2014 13:49:00 +0100 Message-ID: Subject: Re: How to pass '{' in simple languge expression? To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 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