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: Camel FTP + Seda problems
Date Thu, 28 Apr 2016 09:57:08 GMT
The file is only deleted when the exchange is "done" processed at the end.

If you want to separate that, then use the wire tap EIP

On Wed, Apr 27, 2016 at 3:01 PM, semephor <saffmalik@outlook.com> wrote:
> Hello!
>
> I am having a strange problem when using the FTP and SEDA components
> together.
>
> If I do the below as a base test case:
>
> from("sftp://user@localhost?password=password&fileName=response.out&*delete=true*").
> to("stream:out");
>
> .. I can see that when I place the file there, the ftp component picks it
> up, streams it out correctly and deletes the file on the server.
>
> however, when I try the below:
> from("sftp://user@localhost?password=password&fileName=response.out&delete=true").
> to("seda:responseQ");
>
> .. i can see in the logs the file is picked up and put on the SEDA queue,
> however the original is not deleted.
>
> ANy ideas whats going on here? It is as if once it puts onto the seda queue
> it does not complete successfully or it waiting for something. I thought
> once it puts onto SEDA its job is done.
>
> thanks!
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-Seda-problems-tp5781799.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message