Claus Ibsen-2 wrote:
> 
> ...
>                 CsvDataFormat customCsv = new CsvDataFormat();
>                 CSVConfig custom = new CSVConfig();
>                 custom.setDelimiter(';');
>                 custom.addField(new CSVField("foo"));
>                 custom.addField(new CSVField("baz"));
>                 custom.addField(new CSVField("bar"));
>                 customCsv.setConfig(custom);
>                 customCsv.setAutogenColumns(false);
> 
>                 from("direct:startMultiCustom").
>                     marshal(customCsv).
>                     to("mock:resultMultiCustom");
> 

Thank you for you help ... 
I have tried yout code ... but not compile the first for example the method
setConfig on CsvDataFormat do not exists.So I'have chacked javadocs for  
http://camel.apache.org/maven/camel-core/apidocs/org/apache/camel/model/dataformat/CsvDataFormat.html
CsvDataFormat   . 

I'm in error ? the class CsvDataFormat that you use is in "
org.apache.camel.model.dataformat " ?
Can be a different version ? Do I have to use old 1.6 in place of 2.0-m1 ?

Thank you
Stefano


-- 
View this message in context: 
http://www.nabble.com/CSV--options%3A-howto-setting---tp23272206p23272780.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to