Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E170774E for ; Fri, 11 Nov 2011 20:35:24 +0000 (UTC) Received: (qmail 64818 invoked by uid 500); 11 Nov 2011 20:35:24 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 64745 invoked by uid 500); 11 Nov 2011 20:35:24 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 64737 invoked by uid 99); 11 Nov 2011 20:35:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 20:35:24 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of marcel.koopman@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 20:35:18 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1ROxoQ-0005eh-J1 for dev@camel.apache.org; Fri, 11 Nov 2011 12:34:58 -0800 Date: Fri, 11 Nov 2011 12:34:58 -0800 (PST) From: marcelk To: dev@camel.apache.org Message-ID: <1321043698573-4985495.post@n5.nabble.com> In-Reply-To: References: <1320962905752-4982555.post@n5.nabble.com> Subject: Re: Bindy csv and generateHeaderColumns doesnt work with tabs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Claus, I dont have much time at the moment but I created a JUnit test and a patch. I'll try to add things the right way later. The patch I have is: Index: src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java =================================================================== --- src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java (revision 1201023) +++ src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java (working copy) @@ -470,7 +470,8 @@ Map dataFieldsSorted = new TreeMap(dataFields); Iterator it = dataFieldsSorted.keySet().iterator(); - + + char separator = Converter.getCharDelimitor(this.getSeparator()); StringBuilder builderHeader = new StringBuilder(); while (it.hasNext()) { -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-csv-and-generateHeaderColumns-doesnt-work-with-tabs-tp4982555p4985495.html Sent from the Camel Development mailing list archive at Nabble.com.