Interface FileConsumerResumeStrategy<T>

  • All Superinterfaces:
    AutoCloseable, org.apache.camel.ResumeStrategy, org.apache.camel.Service
    All Known Subinterfaces:
    FileSetResumeStrategy, GenericFileResumeStrategy<T>

    public interface FileConsumerResumeStrategy<T>
    extends org.apache.camel.ResumeStrategy
    Defines resume strategy for consumers of the file component.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void resume​(T resumable)
      Returns the last offset read for the given file.
      • Methods inherited from interface org.apache.camel.ResumeStrategy

        resume
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
    • Method Detail

      • resume

        void resume​(T resumable)
        Returns the last offset read for the given file.
        Parameters:
        resumable - the resumable file or resumable set to run the resume