camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Marshal with quote in CSV
Date Thu, 02 Apr 2015 06:46:58 GMT
Hi

That is not supported (yet). So you want to preserve the quotes?

So if there is a keepQuotes option you can set to true

@CsvRecord(separator = "," , quote = "\"", keepQuotes=true )

I logged a ticket
https://issues.apache.org/jira/browse/CAMEL-8590

Help on this is welcome

On Wed, Apr 1, 2015 at 4:36 PM, chaituu <yarlagadda54@gmail.com> wrote:
> I'm creating csv file using Camel Bindy. using 2.12 version.
>
> In bindy model I have used
> @CsvRecord(separator = "," , quote = "\"" )
>   when i open csv file values are coming without quotes but I need all the
> values with double quotes.
> "ABC","TEST","CG","QEQE"
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Marshal-with-quote-in-CSV-tp5765160.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message