[英]Apache Camel: File Component in Linux environment; Polling Fails
我正在使用文件組件作為
file:\\orderLocations
閱讀消息。 在UNIX / Linux環境中部署我的駱駝路由應用程序。 部署后,每個投票都會顯示此消息
Cannot poll as directory does not exists or its not a directory: /orderLocations
雖然我看到一個有名字的文件夾
\orderLocations
被建造。 但是,它不會從那里輪詢消息。
請指導在UNIX / LINUX環境中使用文件組件的正確方法
您可以按照以下方式在各自的操作系統中按以下方式在駱駝中使用spring DSL:
對於Linux / Unix
<from uri="file:/user/tempdir?delete=true"/>
對於Windows
<from uri="file://user/tempdir?delete=true"/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.