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 BD35292CC for ; Tue, 3 Jul 2012 08:08:31 +0000 (UTC) Received: (qmail 76898 invoked by uid 500); 3 Jul 2012 08:08:31 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 75911 invoked by uid 500); 3 Jul 2012 08:08:26 -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 75684 invoked by uid 99); 3 Jul 2012 08:08:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 08:08:25 +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.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 08:08:20 +0000 Received: by lbok6 with SMTP id k6so899043lbo.32 for ; Tue, 03 Jul 2012 01:07:59 -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=j2jQuFaLGppJij9x8RvffJOM/saMvwfdezIX0eb1jTg=; b=s2MUA2iYc0PlGG3knreeu/chg51mh9p0s1w3lOnZITKYtfrHRyBo4kv6FmpCm3N3bE 7bJoFv2K0aO4Rhb5dlp6Y2Q98lTnXfwrGbrecid06aCVEuF9qCqWvJsiqYoG7ZvfC6Gk ow5Kj9nyZAy6LnVlKKjAfzAG30gHf0FSS4ICec0DGWXWlDRoPUD3SRf1FeVLUwCXRqd2 8tMbAuB2kvCHPABZw/9e0ozbmD6zCRCedyvl5r2LE1rX10rDBabkwHE759EfLRo6UGB+ ew28KxFH4/8mYZCert9AlDcK9ekt6WrI/QhZs0a0BHXsa08aOMphEzCPR78CbdlYC1ia ylZA== Received: by 10.112.43.37 with SMTP id t5mr7826285lbl.89.1341302879551; Tue, 03 Jul 2012 01:07:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.49.73 with HTTP; Tue, 3 Jul 2012 01:07:39 -0700 (PDT) In-Reply-To: <1341302644081-5715395.post@n5.nabble.com> References: <1341269976126-5715387.post@n5.nabble.com> <1341278822108-5715389.post@n5.nabble.com> <1341302644081-5715395.post@n5.nabble.com> From: Claus Ibsen Date: Tue, 3 Jul 2012 10:07:39 +0200 Message-ID: Subject: Re: Camel 2.10.0 and Bindy/CSV To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 In Camel 2.10 you can provide the class itself which makes it a tad easier from("direct:middle") .unmarshal(new BindyCsvDataFormat(MyBillingItem.class)) .to("direct:test"); And there is bindy in the DSL, so you can do from("direct:middle") .unmarshal().bindy(BindyType.Csv, MyBillingItem.class) .to("direct:test"); On Tue, Jul 3, 2012 at 10:04 AM, Charles Moulliard wrote: > Hi Reynald, > > Your syntax is not correct as you must provide the package name (that bindy > will scan) and not the name of the class > > from("direct:middle").unmarshal(new > BindyCsvDataFormat("services.billing.MyBillingItem")).to("direct:test"); > > should be > > from("direct:middle").unmarshal(new > BindyCsvDataFormat("services.billing")).to("direct:test"); > > Regards, > > > ----- > Apache Committer / Sr. Pr. Consultant at FuseSource.com > Email: [hidden email] > Twitter : @cmoulliard, @fusenews > Blog : http://cmoulliard.blogspot.com > -- > View this message in context: http://camel.465427.n5.nabble.com/Camel-2-10-0-and-Bindy-CSV-tp5715387p5715395.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen