camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustav Sinder <gustav.sin...@ferrologic.se>
Subject RE: Moving failed files on FTP server
Date Tue, 16 Jun 2015 12:52:48 GMT
Thanks!

Seems I missed the documentation paragraph clearly saying "See File for more options as all
the options from File is inherited" :/

Med vänlig hälsning / Kind regards
Gustav Sinder
Ferrologic AB 
 
Mobile: +46 706 61 81 51

-----Original Message-----
From: Claus Ibsen [mailto:claus.ibsen@gmail.com] 
Sent: den 16 juni 2015 13:39
To: users@camel.apache.org
Subject: Re: Moving failed files on FTP server

Hi

The moveFailed option should also be possible to use with ftp

On Tue, Jun 16, 2015 at 12:36 PM, Gustav Sinder <gustav.sinder@ferrologic.se> wrote:
> Hi,
>
> I'm using the FTP adapter to fetch files from a remote server. Upon rollback the files
are rolled back and fetched again as expected.
> Preferably I'd like be able to have the adapter move failed messages to a subfolder like
the file adapter does with "moveFailed".
> I guess I could have another FTP adapter in an error handler issue a siteCommand to move
the file to a subfolder.
>
> How have you / would you have solved this?
>
> Thanks
> Gustav Sinder
>



--
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
hawtio: http://hawt.io/
fabric8: http://fabric8.io/
Mime
View raw message