camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Dynamic FTP Poller
Date Fri, 26 Mar 2010 05:43:11 GMT
On Thu, Mar 25, 2010 at 8:39 PM, johnf <John.Fansler@ateb.com> wrote:
>
> Hi,
>
> We have a need to poll a number of different ftp locations for various
> files. We normally express the pattern of the files we are looking for with
> wild cards.
>
> I'm trying to come up with a generic way in Camel to configure routes for
> each location/pattern we need to poll for.
>
> I've looked at using the GenericFileFilter to express the pattern of the
> files I want to find but can't see how to load custom references of it (with
> the specific wild card pattern) to the spring registry on the fly. I really
> can not define filters for each location/pattern in the spring xml.
>

I recon you can just use a delegate filter and have it at runtime
delegate to the real filter.



> We're currently using Camel 2.2.
>
> Is there a way to add to the spring registry on the fly or another way to
> generically control the files an ftp poll looks for?
>
> Thanks!
>
> -john
> --
> View this message in context: http://old.nabble.com/Dynamic-FTP-Poller-tp28033861p28033861.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message