Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3630A18F8D for ; Tue, 20 Oct 2015 19:15:30 +0000 (UTC) Received: (qmail 7477 invoked by uid 500); 20 Oct 2015 19:15:15 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 7433 invoked by uid 500); 20 Oct 2015 19:15:15 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 7422 invoked by uid 99); 20 Oct 2015 19:15:15 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2015 19:15:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 492C8DFC11; Tue, 20 Oct 2015 19:15:15 +0000 (UTC) From: jhberges To: dev@camel.apache.org Reply-To: dev@camel.apache.org Message-ID: Subject: [GitHub] camel pull request: Support `String.format()` strings as input to ... Content-Type: text/plain Date: Tue, 20 Oct 2015 19:15:15 +0000 (UTC) GitHub user jhberges opened a pull request: https://github.com/apache/camel/pull/653 Support `String.format()` strings as input to simple expression Support creating expressions on the form: from("direct:foo") .filter(simpleF("${header.%s} == 'test'", MyConstants.HEADER_NAME)) .log("Filtered"); Sorry about the deleted whitespaces in `BuilderSupport.java`. `atom` made me do it. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jhberges/camel feature/format-string-expression Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/653.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #653 ---- commit 2f26ecb3e022265194b3f5b301a792fb66b5586b Author: jhb Date: 2015-10-20T19:02:14Z Support `String.format()`^Ctrings as `simpleF(...)` ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---