【发布时间】:2020-11-16 16:08:07
【问题描述】:
IdempotentRepository 和 InProgressRepository 之间到底有什么区别? 我有来自the File component page 的以下定义:
- IdempotentRepository:“选择使用 Idempotent Consumer EIP 模式让 Camel 跳过已处理的文件”
- InProgressRepository:“正在进行的存储库用于说明当前正在使用的正在进行的文件。”
对我来说,这些定义相同,只是措辞略有不同。 它们还可以使用相同的幂等存储库。
所以我有点困惑,我需要两者吗?或者 idempotentRepository 是否足够好?
【问题讨论】:
标签: file apache-camel idempotent