In this section, lets look at a simple scenario of transferring files from Location1 to a remote location, Location2. For the sake of clarity, let's define them as follows:
Let's create a simple application in Spring with the Spring integration package, to accomplish the task of transferring files from Location1 to Location2. We need to have two main files to do this; the first one is the configuration file
applicationContext.xml and the second is a Java class file that will intimate the Spring integration framework to upload the file to the remote location.
applicationContext.xml file will have the entire necessary bean configuration with XMLNS required to ...