我需要从目录中轮询文件,并将交换发送到seda hazelcast队列(处理集群中的交换)。首先用于轮询文件: .to("hazelcast:seda:queue?hazelcastInstance=#hazelcast-instance");from("hazelcast:seda:queue?: Message body
我有这样的FTP轮询路径
from("sftp://sftpUsername@ftpServer/path/to/folder?我能够将处理过的文件移动到/path/ to /文件夹内的子文件夹中。但是,当我试图将它移动到另一个文件夹位置时。我要破例了。不幸的是,例外没有详细说明。调试org.apache.camel.component.file.GenericFileOnCompletion -完成处理文件:Rem