Hi

Not with the csv data format. Maybe one of the other CSV capable can
do it.  See a list here
http://camel.apache.org/data-format.html

On Wed, Sep 9, 2015 at 1:21 PM, prasad bezavada
<prasadbezav...@gmail.com> wrote:
> Hi,
>
>   I am trying to transform a CSV file which contains some string as
> delimiter (Eg: MY_DE1 is my delimiter unlike comma ,semicolon etc).But when
> I set like below
>
> CsvDataFormat csv = new CsvDataFormat();
> csv.setDelimiter("MY_DE1");
>
> it is giving me following exception
>
>  java.lang.IllegalArgumentException: The 'delimiter' attribute must be
> exactly one character long.
>
> So my question is ,is there any way to use a string (with multiple chars)
> as delimiter in Camel?



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition:
https://www.manning.com/books/camel-in-action-second-edition

Reply via email to