gpt4 book ai didi

apache-camel - Camel File Endpoint - 获取文件名

转载 作者:行者123 更新时间:2023-12-04 04:51:25 24 4
gpt4 key购买 nike

我有一条 Camel 路线:

from("file:///u01/www/images/nonprofits-test?move=.done&preMove=.processing&filter=#nonpFileFilter&minDepth=2&recursive=true")

稍后在路由中我需要访问原始文件名。我如何获得这些信息?所有的标题都包含类似 ${file:name} 的信息,但不是实际的文件名。

提前致谢!

基本问题是在使用 grails 运行 Camel 时没有正确评估简单语言。这正在 Camel 用户列表中进一步讨论。

最佳答案

有一个名为“CamelFileName”的头文件存储这个

camel-file2标题部分了解更多详情...

关于apache-camel - Camel File Endpoint - 获取文件名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9705105/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com