2013-11-26 20 views

回答

2

是的。

<camelContext id="myContext" xmlns="http://camel.apache.org/schema/spring"> 
    <route id="myRoute"> 
     <from uri="file:///outgoing?delay=1h"/> 
     <to uri="ftp://[email protected]/test/?password=password"/> 
    </route> 
</camelContext> 

文件可以直接做到這一點。你應該看看這裏:http://camel.apache.org/file2.html

+0

該文件組件記錄在:http://camel.apache.org/file2作爲文件是在舊的文件組件在駝峯1.x這是EOL。 –

+0

你也可以使用速記的延遲,例如延遲= 1小時1小時,這可能更容易閱讀 –

+0

感謝您的評論克勞斯,我編輯我的答案,以反映他們。 – hveiga

相關問題