Interface FeedEntryHandler


public interface FeedEntryHandler
  • Method Summary

    Modifier and Type Method Description
    void handle​(FeedEntry feedEntry)
    Called for each received feed entry.
  • Method Details

    • handle

      void handle​(FeedEntry feedEntry) throws RetryException
      Called for each received feed entry.

      Add your processing logic by implementing this method.

      NOTE: The implementation should be idempotent and adhere to 'at least once' processing.

      Parameters:
      feedEntry - The entry to process
      Throws:
      RetryException - to signal a retry as the current entry was not successfully processed.