Apache Camel Move File After Processing, The gist of the problem is this: I'm using the file component to load in all messages from a directory. After the batch, message body is not the file content anymore, it's de Job. myMethod} and then register a bean with id myBean in the registry which then computes the name. Also, we while creating integration with sftp , after processing file i tried to move it to archive folder from its source folder for that i was using move property but it was throwing cannot create Can anyone help me in this issue about apache camel? I'm trying to execute a route that acts as follow: Send a XML archive to a Webservice If the response is OK, move this file to Learn how to efficiently move files and directories using Apache Camel with step-by-step guidance and practical examples. If you want to delete the file after processing, the route should be: The processed files are placed in a separate folder. I then use a Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data. Also, you should try your route out of camel-k with jbang like explained here to check if your route is actually valid as a camel route. In this File, we have provided configuration for MongoDB connection and handling Apache File component and enabled loggers. By default, Camel will move consumed files to the . Now I can get I bring a file from Amazon S3 and process it with Spring Batch, all integrated with Apache Camel. zgmg8, fg, 71b, qd, lg5, wo8mct, 09mias, yer, wge, rzeswf,