Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个运行 3 个实例的 Mule HA 集群。每个实例都有一个文件连接器,用于从共享位置选取文件,并将选取的文件写入 Active MQ 队列。该过程很简单,但文件连接器不断将重复文件写入活动 MQ 队列。如何解决此问题以保持文件计数不变?
也许您可以尝试将时间戳附加到文件名并使用一些分隔符添加您的计数器。希望这可以帮助。