Hi!
I tested with the suggested change and now I have qoutes at all fields,
which solves my issue.
Thanks!
yogu13 wrote
> Thank you for the test case... I am assuming you are using camel-csv
> component here
>
> In that case couple of things i noticed would require a change:-
>
> 1. Use org.ap
Hello !
Thank you for the test case... I am assuming you are using camel-csv
component here
In that case couple of things i noticed would require a change:-
1. Use org.apache.camel.dataformat.csv.CsvDataFormat (This has its own
DataFormat defined as well)
2. The Dataformat would be set as below
Hi,
yogu13 wrote
> would you have any test case which can be used to reproduce it?
I wrote a simple unit test for the given scenario. The expected outcome is
"ABC" as the first csv field in the output file. I'm using Camel 2.15.0 and
Java 8.
import java.nio.file.Files;
import java.nio.file.Path
Hello,
would you have any test case which can be used to reproduce it?
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-to-write-quotes-correct-on-CSV-fields-when-marshalling-with-CsvDataFormat-tp5765477p5765522.html
Sent from the Camel - Users maili