Hi I configured my route as bellow
<camel:route>
<camel:from
uri="file:{{config.fileloc}}?fileName={{filename}}.txt"/>
<to uri="activemq:queue:{{activemq.outqueue}}" />
</camel:route>
filename=DataMoveCommand
config.fileloc = \\Server\\FileLoc
I mapped shared location \\Remote_Server\\FileLoc as network drive
when I bring my camel context up in logs found like as bellow
Route: route18 started and consuming from:
Endpoint[file://%5CRemote_Server%5CFileLoc?fileName=DataMoveCommand.txt]
Could anyone help me on this.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-location-tp5752233p5752326.html
Sent from the Camel - Users mailing list archive at Nabble.com.