I am hoping that this is possible, but I am struggling with figuring out a solution.
What I need to know is, can I move a file that already exists on the file system and to another folder using Spring DSL? I have a route that gets kicked off by having a JSON message placed onto an ActiveMQ queue. The JSON message contains the name and path of the file that I want to move. I am not sure what do to at this point. The route to pull off of the queue looks like this: <route id="filemove" startupOrder="1" > <from uri="activemq:queue:filemove"/> <convertBodyTo type="String" /> <unmarshal ref="jsonMarshaller" /> </route> Do I need to dynamically create a FileExchange in order to move the file? Is there a simpler approach? Is this even possible to do in Spring DSL? Any hints would be greatly appreciated! Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Can-I-perform-a-move-file-operation-in-camel-tp5722620.html Sent from the Camel - Users mailing list archive at Nabble.com.