Hi Christian,
It should be easy to add the configure feature into CsvDataFromat.
But after checking out the web site of the commons csv, it looks like
the commons csv 1.0 is never released since 2008.
Maybe we should consider to retire camel-csv and I don't think we need
to enhance it as there are some alternatives solution in camel already.
Willem
Christian Müller wrote:
Hello Claus,
today I realized, that the org.apache.camel.model.dataformat.CsvDataFormat
doesn't support any attributes or nested elements in the XML DSL. So,
currently the last unit test I provided for camel-csv, is not possible for
the XML DSL. Should we improve camel-csv for this? I'm not sure, because
with camel-bindy and soon also with camel-smooks (I waiting for Tom
Fennellys feedback) we offer two alternatives...
Regards,
Christian
On Tue, Jun 15, 2010 at 10:48 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
Hello Andy!
I added a unit test for camel-csv which uses a pipe by marshaling the
object. You will find the test [here|
http://svn.apache.org/viewvc/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat]./csv/CsvMarshalPipeDelimiterTest.java?view=markup<http://svn.apache.org/viewvc/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat%5D./csv/CsvMarshalPipeDelimiterTest.java?view=markup>
I will also add an unit test for the XML DSL, but currently I have some
problems with it. After that, I will review the wiki and may be I will
update it.
Hope this helps,
Christian