camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brbornia <brbor...@gmail.com>
Subject File2 endpoint issue
Date Mon, 16 Apr 2012 19:27:35 GMT
Hello guys,

I am working on a route like this to handle files that should arrive every
day:

<route>
  <from uri="file:/my/incoming/directory?delay=86400000"/>
  <... do_stuff_here/>
</route>

If the file does not arrive, the default is to do nothing, but need to
handle it as an exception. Any ideas on how can I do that?

The closest solution I found was setting sendEmptyMessageWhenIdle property
to true, but it´s only available on camel 2.9 and I am deploying the routes
on apache service mix 4.4.1, wich works with camel 2.8.

Thanks in advance,
Bruno.

--
View this message in context: http://camel.465427.n5.nabble.com/File2-endpoint-issue-tp5644759p5644759.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message