Hi I've tried to implement the interface, don't know if it's correct, but it seems that only prepareOnStartup is ever called when running the route.
public class CscProcessStrategy implements GenericFileProcessStrategy<File> { public boolean begin(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint, Exchange exchange, GenericFile<File> file) throws Exception { operations.changeCurrentDirectory("'DATA.OUT.EDI'"); return false; } public void commit(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint, Exchange exchange, GenericFile<File> file) throws Exception { } public void prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint) throws Exception { } public void rollback(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint, Exchange exchange, GenericFile<File> file) throws Exception { } } -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1223982.html Sent from the Camel - Users mailing list archive at Nabble.com.