Hello,

I have route like:

from(file:input?preMove=inprogress&moveFailed=failed)
.process(new SomeProcessor())
.("file:input/processed", "file:route2", "file:route3").to("seda:remote")

from("file:route2").to("ftp:foo)
from("file:route3").to("ftp:bar)
from("seda:remote").to("http:getfile").to("myendpoint:save")

now in seda:remote route after to("http:getfile") I get an error saying

org.apache.camel.processor.MulticastProcessor: Message exchange has failed:
Sequential pro
cessing failed for number 0 for exchange: Exchange[Message: [Body is null]]
Exception: java.io.IOException: No such file or directory
org.apache.camel.processor.MulticastProcessor: Done sequential processing 1
exchange

Apparently, seda thread tries to delete the file from first route
'input/inprogress' folder, which is probably moved by an other route. 

How can I disable initial file rollback strategy in my from("seda:remote")
route? I just want it to work in my first route.

Thanks for help!



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-disable-initial-file-rollback-strategy-tp5749721.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to