hello, I am trying to set up my ftp cleint connection in Spring DSL like:
<route routePolicyRef="myPolicy" id="pcrf-ftp-server-berlin-now-3" autoStartup="true"> <from uri="ftp://localhost/${bean:timeItervallToDownload?method=getOneDayBeforeYesterday}?username=test&password=test&stepwise=false&delay=2000&move=${file:name}.trans&recursive=true&binary=true&filter=#doneFilter&maxMessagesPerPoll=3500&eagerMaxMessagesPerPoll=false&sorter=#pcrfSorter" /> <onCompletion> <process ref="startPcrfFtpBerlinRoute-now-2"></process> </onCompletion> <multicast> <to uri="file://C:/temp/outputfile/pcrf_files_postpaid" /> <log message="Downloaded file ${file:name} complete."></log> </multicast> </route> Unfortunatelly without success. The main issue is in the call of the bean: ${bean:timeItervallToDownload?method=getOneDayBeforeYesterday} the bean is in the camel context: <bean id="timeItervallToDownload" class="com.test.nico.DownloadStrategy"></bean> what am i doing wrong? Any help would be much appreciated. Regards, Nico -- View this message in context: http://camel.465427.n5.nabble.com/how-to-set-up-ftp-remote-directory-dynamically-tp5749671.html Sent from the Camel - Users mailing list archive at Nabble.com.