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
is the expected csv row
// Expect ABC to be surrounded by quotes
String outputRow= new
String(Files.readAllBytes(Paths.get("target/outbox/csvFile.txt")));
assertEquals(inputRow, outputRow);
}
}
I would like to "force" to have quotations on the ABC fiel
..
.unmarshal(csv)
.beanRef("csvParser")
.marshal(csv)
The csvParser returns a List>
I'm using Camel 2.15.0
Regards
Hans-Christian
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-to-write-quotes-correct-on-CSV-fields-when-marshalling-with-CsvDataFormat-tp5765477.html
Sent from the Camel - Users mailing list archive at Nabble.com.