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: IS the File polling possible in CAMEL.
Date Sun, 05 May 2013 09:06:52 GMT
Hi

Yeah you can configure the file endpoint with poll every X time, and
limit the poll to Y files.

eg you can set these options

delay=2m
maxMessagesPerPoll=200

notice 2m is shorthand for 2 minutes.

The file component is documented here
http://camel.apache.org/file2


On Sun, May 5, 2013 at 10:57 AM, umashankar29 <umashankar29@gmail.com> wrote:
> Thanks Clause,  My next query is can we be able to restrict the incoming file
> by polling the files to say ~200 Files for every 2 mins .
>
> Thanks
> Shan
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/IS-the-File-polling-possible-in-CAMEL-tp5732019p5732030.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message