On 2011-10-11 6:26 AM, szaruba wrote:
> We have also thought about the most of your solutions, but we aren't
> satisfied about most of them,
> because, this will destroy our nice written routes. :( We can't imagine,
> that there isn't any
> non-polling file consumer, but if there really is none we have to count the
> incoming files with
> standard java file access.
Camel is designed for routing -- "Get everything here and put it over
there". What you want to do is more "Get these specific things that
exist right now and put them over there". Since camel is still half of
what you want, you might want to look at the Camel ProducerTemplate
<https://camel.apache.org/pojo-producing.html>.