camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: dynamic endpoint in ftp component
Date Tue, 15 May 2012 01:06:31 GMT
Hi,

Which version of camel are you using ?

I just check the document, the move option could be an expression,  
which means it should support the simple language that you use.

Did you try to set the move option directly with the expression without 
using the properties component?

On Tue May 15 04:03:36 2012, cbuxbaum wrote:
> 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}}&amp;delay=10000&amp;recursive=true&amp;binary=true&amp;filter=#myAntFilter&amp;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.
>



--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang


Mime
View raw message