小编Aji*_*yan的帖子

如何使用 apache Camel 从共享路径位置(远程计算机位置)轮询文件

我是阿帕奇骆驼的新手。我想从远程文件位置(即共享位置路径)选择一个文件。

将远程计算机共享位置路径映射为网络驱动器并使用文件组件,如下所示

<camel:route> 
                        <camel:from uri="file:{{config.fileloc}}?fileName={{filename}}.txt"/> 
                        <to uri="activemq:queue:{{activemq.outqueue}}" /> 
</camel:route> 
Run Code Online (Sandbox Code Playgroud)

filename=DataMoveCommand config.fileloc = //服务器/FileLoc

有人请帮我解决这个问题。请提供一些有关camel-JCFIS 的示例以及camel-JCFIS 的目的

apache-camel

3
推荐指数
1
解决办法
3171
查看次数

标签 统计

apache-camel ×1