You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by James Green <ja...@gmail.com> on 2013/10/24 12:29:16 UTC

Polling for file updates over http/s?

I'm having to write a java daemon that polls a service over http for an
updated file. This effectively provides an "automatic updates" mechanism.

Sounds like a job that could be a fit for Camel. Has anyone ever tried
developing such a component?

James

Re: Polling for file updates over http/s?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah sounds like you can create a route starting from a timer / quartz
to trigger when to run, and then call a http endpoint, and then
process the response / stores the response as a file etc.

On Thu, Oct 24, 2013 at 12:29 PM, James Green <ja...@gmail.com> wrote:
> I'm having to write a java daemon that polls a service over http for an
> updated file. This effectively provides an "automatic updates" mechanism.
>
> Sounds like a job that could be a fit for Camel. Has anyone ever tried
> developing such a component?
>
> James



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen