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 5C644189EA for ; Mon, 5 Oct 2015 12:51:10 +0000 (UTC) Received: (qmail 41016 invoked by uid 500); 5 Oct 2015 12:50:54 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 40981 invoked by uid 500); 5 Oct 2015 12:50:54 -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 40966 invoked by uid 99); 5 Oct 2015 12:50:53 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2015 12:50:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BA9341809A5 for ; Mon, 5 Oct 2015 12:50:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.213 X-Spam-Level: * X-Spam-Status: No, score=1.213 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id frwh75xowTnM for ; Mon, 5 Oct 2015 12:50:40 +0000 (UTC) Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 5ED272031C for ; Mon, 5 Oct 2015 12:50:40 +0000 (UTC) Received: by igbkq10 with SMTP id kq10so59426965igb.0 for ; Mon, 05 Oct 2015 05:50:39 -0700 (PDT) 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=DXofWomVu9H4/6ev0Nr2hi54Kyw8eZQTAn177i3FeNQ=; b=WS9Xlff9ZTPuDi+z9+pKKlpQdzgNtTQqFkgRR4keQnwdM0cu7mb+B5Kz3zz2wqjb1o qtRoGB5Ehcnq/5dGpzB0pCeyWX6fqaN5MnKfpkeEY4N3UJfKimg/pEawlst0Hr0Hvd0x FgD6SFy4DgX+D7ndHirzrhDLBlXnSUYPs22yUDqdEpNvPsFC/omQzifj8V/PuRYP3Lw+ Qo05JJJ9VDR5kFTQeTdxA1DdDkbsD/vOnyK+xoqTmzubzzgCdOx/G3hUfMM3U6KsRpL9 w+YIG84XsHE6dpQL5e8NYXiAnDJFcTccGuMz7byMDxWdsvnFJcAyk9TylBLQETUYeLnG Jgvw== X-Received: by 10.50.142.7 with SMTP id rs7mr9323695igb.62.1444049439861; Mon, 05 Oct 2015 05:50:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.117.91 with HTTP; Mon, 5 Oct 2015 05:50:20 -0700 (PDT) In-Reply-To: <1444049258963-5772289.post@n5.nabble.com> References: <1443817117797-5772200.post@n5.nabble.com> <1444049258963-5772289.post@n5.nabble.com> From: Claus Ibsen Date: Mon, 5 Oct 2015 14:50:20 +0200 Message-ID: Subject: Re: Apache Camel bean parameter binding issue with Spring DSL To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 Hi I am sorry to say it but you may try a newer release to see if it works there. I could not reproduce any issue on lastest code. And mind that ${exchange} has just only been added to simple language in 2.16 release. On Mon, Oct 5, 2015 at 2:47 PM, wheli wrote: > Sure... > > public String extractDocumentRootOid(Exchange exchange) throws Exception > > public Organization getOrganizationByOid(Exchange exchange, String oid) > throws InterchangeException > (Organization is a custom java object) > > public String extractStyleSheetAttributeFromOrganization(Exchange exchange, > Organization organization) throws Throwable > > I am using camel version 2.13.1. > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772289.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition