Apache Camel RSS源处理器跳过具有相同pubdate的源

Apache Camel RSS源处理器跳过具有相同pubdate的源,rss,apache-camel,Rss,Apache Camel,我有一个读取提要的camel设置,我使用splitEntries=true,我使用可用的org.apache.camel.component.rss.RssEndpoint,但它跳过具有相同时间戳的提要。有人知道发生了什么吗?终于找到了解决方案,需要定制内部使用UpdateDateFilter的FeedPollingConsumer类,并删除 lastUpdate.after(updated) || lastUpdate.equals(updated) 并删除lastUpdate.equals

我有一个读取提要的camel设置,我使用splitEntries=true,我使用可用的org.apache.camel.component.rss.RssEndpoint,但它跳过具有相同时间戳的提要。有人知道发生了什么吗?

终于找到了解决方案,需要定制内部使用UpdateDateFilter的FeedPollingConsumer类,并删除

lastUpdate.after(updated) || lastUpdate.equals(updated)
并删除lastUpdate.equals(updated),以处理相同的pubDate时间戳提要。UpdateDateFilter也不可扩展,因此请从FeedFilter接口实现您自己的


谢谢。如果您有更好的解决方案,请告诉我。

查看源代码以了解发生了什么。这里是我的发现的更新。当我们使用splitEntries=true时,默认情况下它使用updateDateFilter来过滤提要,当我看到org.apache.camel.component.atom.updateDateFilter代码时,它实际上会跳过日期,就像lastUpdate.after(updated)| | lastUpdate.equals(updated)一样。因此,将跳过所有具有相同时间戳的其他提要。我应该使用自己的过滤器扩展UpdateDateFilter,所以如果您有任何建议,请告诉我。谢谢您的报告。我已经登记了一张票来修复这个-。我们喜欢贡献,所以补丁是非常受欢迎的。当然,克劳斯感谢更新,他会处理补丁并尽快通知你