camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: camel-ftp questions: When the FTP server is down
Date Mon, 03 May 2010 09:09:10 GMT

On Mon, May 3, 2010 at 10:45 AM, olamalam <> wrote:
> Hi to all,
> I've written a route which listens to an activemq queue and sends the files
> coming from the queue to an FTP server:
> from("jms:test.MyQueue").process(processor).to("ftp://test@");
> When I shut the server down and put some files to queue and immediately
> start the server again I can receive the files without the problem. But If I
> wait for some time to start the server again I'm loosing the files.
> Is there a way to configure this waiting time? Because I don't want my files
> to send to dead letter queue and lost.
> If not, how can I handle this case, when the server is down?

A good idea would be to suspend the route while the FTP server is down.

For example you can use route policy to dictate this

Also chapter 13 in Camel in Action book talks about dynamic
starting/stopping routes at runtime.

> Thanks in advance
> Ilker
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message