Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 8570 invoked from network); 17 Jun 2010 11:54:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 11:54:08 -0000 Received: (qmail 35707 invoked by uid 500); 17 Jun 2010 04:47:28 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 35447 invoked by uid 500); 17 Jun 2010 04:47: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 35433 invoked by uid 99); 17 Jun 2010 04:47:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 04:47:25 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 74.125.83.173 as permitted sender) Received: from [74.125.83.173] (HELO mail-pv0-f173.google.com) (74.125.83.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jun 2010 04:47:17 +0000 Received: by pva18 with SMTP id 18so114534pva.32 for ; Wed, 16 Jun 2010 21:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+DP4eWnHzzPJq9zAY/uW+KCdJCQbjfsPhcr/NuL4uUY=; b=JBaJ19Vp7OYFIWDHOu0Iz+pLd7oOUjMElpD0fB1mb6Xxsnnp/jjaopucOThxwcpTMW sLHEnhOl8hxytnv8pDVUDtClyfsF+2bKIbNOzQA7x2NBcJGDoYrkGS5leFJMfHi4cWhR pzkRgMGv/N8+BhUzPHh8uocV78CEfRBTjbPd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=YaKAxEslQEVmUr5XtNt9rU/yBTwYXZsCUiAor1GBkHuxle7Rt7Q50yWJYvdvgRfBvt v+9n6lXfD39qApho0kEKm5aslITJDrnYu9+93g2484HWONIG8ruU7OEdZQk16i5aLy7B TY9D4/L2l05Zy52EqrypSUqY3iV3KrGpqbyzI= Received: by 10.142.4.16 with SMTP id 16mr6987177wfd.133.1276750016693; Wed, 16 Jun 2010 21:46:56 -0700 (PDT) Received: from [192.168.0.158] ([125.33.123.101]) by mx.google.com with ESMTPS id d16sm7743987wam.12.2010.06.16.21.46.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 16 Jun 2010 21:46:55 -0700 (PDT) Message-ID: <4C19A8B6.2020307@gmail.com> Date: Thu, 17 Jun 2010 12:46:46 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: marshal to CSV with pipe delimiter References: <28842183.post@talk.nabble.com> <28889019.post@talk.nabble.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi Christian, It should be easy to add the configure feature into CsvDataFromat. But after checking out the web site of the commons csv, it looks like the commons csv 1.0 is never released since 2008. Maybe we should consider to retire camel-csv and I don't think we need to enhance it as there are some alternatives solution in camel already. Willem Christian M�ller wrote: > Hello Claus, > > today I realized, that the org.apache.camel.model.dataformat.CsvDataFormat > doesn't support any attributes or nested elements in the XML DSL. So, > currently the last unit test I provided for camel-csv, is not possible for > the XML DSL. Should we improve camel-csv for this? I'm not sure, because > with camel-bindy and soon also with camel-smooks (I waiting for Tom > Fennellys feedback) we offer two alternatives... > > Regards, > Christian > > On Tue, Jun 15, 2010 at 10:48 PM, Christian M�ller < > christian.mueller@gmail.com> wrote: > >> Hello Andy! >> >> I added a unit test for camel-csv which uses a pipe by marshaling the >> object. You will find the test [here| >> http://svn.apache.org/viewvc/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat]./csv/CsvMarshalPipeDelimiterTest.java?view=markup >> I will also add an unit test for the XML DSL, but currently I have some >> problems with it. After that, I will review the wiki and may be I will >> update it. >> >> Hope this helps, >> Christian >> >