camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilde <hilde.sch...@yahoo.de>
Subject Polling consumer: how to recognize an empty directory
Date Fri, 03 Aug 2012 13:21:31 GMT
Hello folks!

We create a polling consumer route via a dynamic router. When the transfer
is finished we recognize the end
by the header /CamelBatchComplete/ and we are able to stop the route. But
imagine the case when the directory of polling is empty. How can I find out
that to stop the route rapidly?

Cheers
Hilde



--
View this message in context: http://camel.465427.n5.nabble.com/Polling-consumer-how-to-recognize-an-empty-directory-tp5716761.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message