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 9C7FAEB0C for ; Thu, 3 Jan 2013 03:14:57 +0000 (UTC) Received: (qmail 20614 invoked by uid 500); 3 Jan 2013 03:14:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 20577 invoked by uid 500); 3 Jan 2013 03:14:57 -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 20533 invoked by uid 99); 3 Jan 2013 03:14:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 03:14:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ramirobot@gmail.com designates 209.85.210.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-ia0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 03:14:47 +0000 Received: by mail-ia0-f178.google.com with SMTP id k25so12645763iah.9 for ; Wed, 02 Jan 2013 19:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=OZ9udqGChS+Bck6+j/ua1YTXs6kMMKMqZCd8JREfEUY=; b=gT/m3c5WnoflYs/FqDyJ4iGeTKe/eJDJtdbpPqbDHi9TZPBTgrmJ0PkvSyD7gYKnuk qukKaCwDn9jenx6EH3JgPpbfPBk1A4LBpjJegPloz+8ON1sPMQJyrv7vDzshS2UkctEF WOw0VRh57PDINc2qJF0B94/GniIzl4OAzR7Z8/uQ0nLkr37ZwwQOA0JCKMg8IGSnZ7r1 mCZ+0CJZkji6KpCsMpeac1K+j4+Z5/B6RMlcl9EG6rjT5SikCftDv0REbOaZPKAIDUSg lhsMka5AxQn410r+pNSBS3O+99EZRYeJZHanchwXJNg0b3JXSit+4sfDwnX8oJDUjzZQ Belw== Received: by 10.50.213.6 with SMTP id no6mr35045933igc.67.1357182866742; Wed, 02 Jan 2013 19:14:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.137.225 with HTTP; Wed, 2 Jan 2013 19:14:06 -0800 (PST) From: Ramiro Date: Thu, 3 Jan 2013 01:14:06 -0200 Message-ID: Subject: unmarshall csv problem with bindy To: users@camel.apache.org Content-Type: multipart/alternative; boundary=f46d042f9388aadf6104d259c252 X-Virus-Checked: Checked by ClamAV on apache.org --f46d042f9388aadf6104d259c252 Content-Type: text/plain; charset=ISO-8859-1 Im working with Karaf 2.2.10 and Camel 2.10.1. I receive a file, parse the csv to a pojo, and do some other suff. My problem is that if a field in a record on the csv ends with a coma like the third field here: someFieldValue,someOtherFieldValue,"aaaa ,",moreStuff It puts together aaaa , with moreStuff in a single field(ignoring the second quote). But if i add something like: someFieldValue,someOtherFieldValue,"aaaa , bbb",moreStuff It gets processed without a problem(aaaa , bbb in a field, moreStuff in another). Seems like Camel is interpreting the ," pair like something to escape. Im using comma as the separator, and i've tried with other separators and setting the quote attribute of the @CsvRecord to single and double quotes. Is this expected behaviour, or some known bug? Any workarounds? --f46d042f9388aadf6104d259c252--