Hi

You can try the 2.0-SNAPSHOT. There are some instructions at the download page
http://camel.apache.org/download.html

About how to set the maven repository if using maven. Or where you can
find a .zip with the 2.0-SNAPSHOT.


On Tue, Apr 28, 2009 at 10:45 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> On Tue, Apr 28, 2009 at 10:41 AM, Campa
> <stefano.campan...@tinvention.net> wrote:
>>
>>
>>
>> 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 " ?
> Yes. its in camel-csv.jar.
>
>> Can be a different version ? Do I have to use old 1.6 in place of 2.0-m1 ?
> I am using 2.0-SNAPSHOT, eg the bleeding edge.
>
> The CSV data format have been improved in Camel 2.0m2 or newer. So
> maybe the 2.0m1 cannot do this.
> The m2 is scheduled for release this week.
>
> Maybe in 2.0m1 there are some other methods to set the separator char.
> Try see which methods exists on the CsvDataFormat class in your code
> editor.
>
>
>>
>> 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.
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> Apache Camel Reference Card:
> http://refcardz.dzone.com/refcardz/enterprise-integration
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Apache Camel Reference Card:
http://refcardz.dzone.com/refcardz/enterprise-integration

Reply via email to