camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasad bezavada <>
Subject How to use a string as delimiter in Camel ?
Date Wed, 09 Sep 2015 11:21:35 GMT

  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();

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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message