Hello D.,

the short answer is, use the annotation '@CsvRecord(separator = "\\|")'.
Camel-Bindy internally use java.util.String.split(String regexp, int limit)
which means, that this separator is interpreted as a regular expression.
I updated the wiki page to reflect this:
https://cwiki.apache.org/confluence/display/CAMEL/Bindy

Cheers,
Christian

On Tue, Jun 8, 2010 at 8:21 PM, DSailor <[email protected]> wrote:

>
> Our project is considering using Camel and most our feeds are currently
> pipe
> separated files.
> While testing Camel-bindy I managed to use different separators,
> nevertheless, when using the Unix pipe separator, Bindy comes with an
> exception and is unable to parse the record.
> Is anyone aware of such limitation ? Even though I am quite keen on using
> Camel, this would quite a serious limitation on our context.
> --
> View this message in context:
> http://old.nabble.com/Bindy---CsvRecord%28-separator-%3D-%22%7C%22-%29-tp28821374p28821374.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to