Hi,
I am trying to create a dynamic endpoint for ftp, that reflects an inbox
that contains the current date, like this:
<from
uri="{{asianinspection.ftpprotocol}}://{{asianinspection.ftpuser}}@{{asianinspection.ftphost}}/{{asianinspection.inbox}}?password={{asianinspection.ftppass}}&delay=10000&recursive=true&binary=true&filter=#myAntFilter&move={{asianinspection.archivefolder}}"/>
All of the placeholders work fine, coming from a properties file, except for
the {{asianinspection.inbox}} property:
asianinspection.inbox=interfaces/ai/interface/order/inbound/input-${date:now:yyyy-MM-dd}/
I know that I am going about this the wrong way, but not sure what is the
correct way.
Thanks,
Carl
--
View this message in context:
http://camel.465427.n5.nabble.com/dynamic-endpoint-in-ftp-component-tp5709461.html
Sent from the Camel - Users mailing list archive at Nabble.com.