CsvDataFormat.marshal never uses custom CSVConfig
-------------------------------------------------
Key: CAMEL-657
URL: https://issues.apache.org/activemq/browse/CAMEL-657
Project: Apache Camel
Issue Type: Bug
Affects Versions: 1.3.0
Environment: not relevant
Reporter: Bart Frackiewicz
Priority: Minor
Affected class: org.apache.camel.dataformat.csv.CsvDataFormat
Method "marshal" has a strange behaviour. The CSVConfig for the CSVWriter can
not be set via setConfig, because "marshal" has this line:
{code}
CSVConfig conf = createConfig();
{code}
Therefore you can not use your own CSVConfig to adjust marshalling.
Fix proposal:
- remove method createConfig
- see unmarshaling with corresponding getter/setter
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.