The Apache Camel File component is the simplest way to transfer files from a source folder to a destination without any coding required. This tutorial will teach you how to create a Camel application using the File component and how to configure to move (or don’t move) the file in the Route.
Setting up the Camel Project
To kick-start a Camel project, you can take a look at this tutorial: Apache Camel tutorial for beginners
Next, let’s adapt the RouteBuilder to include a Route that contains the Apache File component: