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 3B5AF17E5F for ; Thu, 3 Mar 2016 07:03:12 +0000 (UTC) Received: (qmail 40100 invoked by uid 500); 3 Mar 2016 07:03:11 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 40050 invoked by uid 500); 3 Mar 2016 07:03:11 -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 40038 invoked by uid 99); 3 Mar 2016 07:03:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 07:03:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0A42A1A12EE for ; Thu, 3 Mar 2016 07:03:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id V6lUeOJ4sqVB for ; Thu, 3 Mar 2016 07:03:09 +0000 (UTC) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1CCBD5F572 for ; Thu, 3 Mar 2016 07:03:09 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id bc4so12209425lbc.2 for ; Wed, 02 Mar 2016 23:03:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jHhtzSRvogoT50w2BdgQy9U3lF2/MD6wNqfUWu42Scs=; b=qAmGjISIePVEJil194LksNeAziE9lbsZuMW8A7nr2rOeglstyYNxz3LDb+HXlp5POF 9cMMZMXWeejwjMaGcGcFetnpeSPcf1Rimz0I/5Q0RJlbjudKf248o+doOGeJwMXRxFRC tF0cCzmTxf5IdoDKPP7gRu0y4U4ijXDH0EDe8dDMJIf0YBH2lOGZN1kIQmrEq/n7EJNd 4Wzu9IarHEgQHyQ4/0jDVbtz6N5fsm7PoPdcqRYCni66d0r48BvcPjlZIyFsoZuAeooP 83d/Vxcw0P6Ux27QOIDXG3rhsZaZdqgHKQPAtyd1UghE7eo87D4IhnRUXXEwOHzBD3ap ic2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=jHhtzSRvogoT50w2BdgQy9U3lF2/MD6wNqfUWu42Scs=; b=UJp+E6njRQlW0Lap+gaL6CR0bndH8/x+GQhMB3L7h8HzeAiBxRvRe4ldg0Kck23zNV GEC40I6S2en8sV2ihc49gmxnA25pKfDiYAcZ+p0a2G4x2iPz1PBY+YzQL/YZYDQp6yOg 514/4qDTtLCv1EcpkzmD185AZbtfNZsRDxvJ+AZBX8a+o8XQqtwNB4RYM4VzcLfyM0Tf efjTqN74KyP6YgW4wKXTI3KystpWeIWPw3tVz8WQ3AeiqyKrhC3yJYN5rmh4SSjrgEq4 UqAHAar3DCtRpGXmYUPBt9cjKB/W+UDYWyZAMEeYgUcxMfCJjt+Bvdzjg6Of74axgnU4 8hog== X-Gm-Message-State: AD7BkJIHbApqol0lemSUVx6Hr8g/aG7I4NxdOQQLO46kAzcYMLSz0FyDa3SNyPu9Nnh81Y7t4MX50BsHgkcrQA== X-Received: by 10.25.166.130 with SMTP id p124mr394279lfe.120.1456988581952; Wed, 02 Mar 2016 23:03:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Cristiano Costantini Date: Thu, 03 Mar 2016 07:02:51 +0000 Message-ID: Subject: Re: CamelProxy and on Camel 2.16 To: "users@camel.apache.org" Content-Type: multipart/alternative; boundary=001a113dc134de8521052d1f9617 --001a113dc134de8521052d1f9617 Content-Type: text/plain; charset=UTF-8 Hi Claus! Yes I've found it! It is: probably I didn't initially found it because eclipse was still pointing to the XSD of version 2.13.2 (I've found the attribute after "maven > update project" in eclipse) Thank you, Cristiano Il giorno mer 2 mar 2016 alle ore 12:42 Claus Ibsen ha scritto: > Yes you should do the same in spring xml, and its just as easier there > is a binding attribute you can turn off. > > The spring xml is documented as a xsd so you can just look in there > what is valid to use, and setup your java editor to use that xsd while > editing and the editor can assist you and tell what is valid or not. > > On Wed, Mar 2, 2016 at 10:23 AM, Cristiano Costantini > wrote: > > Hello All, > > > > I'm updating our project to use latest Camel 2.16 from camel 2.13.2 > > > > Launching tests, I've discovered the new behavior of the CamelProxy which > > turns on Parameter Binding by default ( > > > http://camel.apache.org/using-camelproxy.html#UsingCamelProxy-WhatissendontheMessage > ), > > and makes my tests fails. On the tests the fix has been easy. I've > changed > > this code: > > > > Endpoint endpoint = context.getEndpoint("direct:start"); > > MyService proxy = ProxyHelper.createProxy(endpoint, MyService.class); > > > > to this code which set the binding to false: > > > > MyService proxy = > > new ProxyBuilder(context).endpoint("direct:start") > > .binding(false).build(MyService.class); > > > > My question is: > > in production we use the Spring DSL with the tag, for example: > > > > > serviceUrl="direct:start" /> > > > > should I turn off binding also on these proxies? How can I do on the > Spring > > DSL? > > > > Thank you very much, > > Cristiano > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > --001a113dc134de8521052d1f9617--