camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel bindy, empty file cause Exception
Date Thu, 12 Feb 2015 10:21:51 GMT
Hi

Yes you need to filter this outside bindy as it expects that there is data

On Thu, Feb 12, 2015 at 11:15 AM, kalber <Karlheinz.Alber@swslt.com> wrote:
> Hi,
>
> is there a way to avoid 'java.lang.IllegalArgumentException: No records have
> been defined in the CSV'
> when the input file is completly empty ?
>
> Or i must check it in the  route like '{body.length}  > 0' ?
>
> thanks
> Karlheinz
>
>
>
>
> -----
> kh
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-bindy-empty-file-cause-Exception-tp5762637.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message