camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Andreas Hegle <he...@businesscape.no>
Subject FilePolling
Date Tue, 12 Jun 2007 13:45:01 GMT
Hi

I am using Camel 1.0 (java 6) and have a file-component for polling 
files from a folder.

However files only get polled when CamelContext is started, and not 
later when new files are added to the folder I monitor.

I have configured it like this:
from("file:"+orderFolder).process(new OrderFileProcessor(context, 
applicationEndpoint, adapter.getConfigurationFolder()));

(which when inserted becomes)
from("file:C:/folder").process(new Processor());

Does anybody know why files are only polled at startup, and not later?

Thanks in advance

-Ole Andreas


Mime
View raw message