camel-file

来源:互联网 发布:广州数控车床编程入门自学 编辑:程序博客网 时间:2024/06/05 16:38

Avoiding reading the same file more than once (idempotent consumer)

Camel supports Idempotent Consumer directly within the component so it will skip already processed files. This feature can be enabled by setting the idempotent=true option.

from("file://inbox?idempotent=true").to("...");