Class UpdatedDateFilter

  • All Implemented Interfaces:
    org.apache.camel.component.feed.EntryFilter

    public class UpdatedDateFilter
    extends Object
    implements org.apache.camel.component.feed.EntryFilter
    Filters out all entries which occur before the last time of the entry we saw (assuming entries arrive sorted in order).
    • Constructor Detail

      • UpdatedDateFilter

        public UpdatedDateFilter​(Date lastUpdate)
    • Method Detail

      • isValidEntry

        public boolean isValidEntry​(org.apache.camel.component.feed.FeedEndpoint endpoint,
                                    Object feed,
                                    Object entry)
        Specified by:
        isValidEntry in interface org.apache.camel.component.feed.EntryFilter