Hi Subh,
You can define several File/FTP poller endpoint and inject use a spring
PropertyPlaceHolder. You can extend the standard PropertyPlaceHolder to
use a database backend.
Regards
JB
subh wrote:
I have a requirement to poll different ftp servers with different file paths
which changes/updates continuously. I am thinking of writing a generic
File/FTP poller and using the file path, ftp server properties etc. from the
DB.
Is there a way I can have these properties injected into my respective
servicemix-file and ftp components from DB or do I need to write a custom
servicemix bean?
If I write a servicemix-bean, how can I manipulate the polling schedule of
these components?
-regards, subh