Hi

O.K. I did log a second JIRA for this as well [1] to provide the same power
of expression inside the XML DSL as well as in Java.

@Ujeen
Now in addition to the new 'autogenColumns' option there're also both the
'configRef' as well as the 'strategyRef' options you can make use of. Take a
look at XML DSL [2] as well as the corresponding unit test [3].

This will be part of the upcomming 2.9.2 and 2.10.0 releases.

[1] https://issues.apache.org/jira/browse/CAMEL-5105
[2]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-csv/src/test/resources/org/apache/camel/dataformat/csv/CsvMarshalAutogenColumnsSpringTest-context.xml
[3]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalAutogenColumnsSpringTest.java

Babak

--
View this message in context: 
http://camel.465427.n5.nabble.com/CSV-dateformat-bug-Attribute-AutogenColumns-is-not-allowed-to-appear-in-element-camel-csv-tp5570066p5574290.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to