Class TransientResumeStrategy

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.resume.ResumeStrategy, org.apache.camel.Service

    public class TransientResumeStrategy
    extends Object
    implements org.apache.camel.resume.ResumeStrategy
    A resume strategy that keeps all the resume strategy information in memory. This is hardly useful for production level implementations, but can be useful for testing the resume strategies
    • Constructor Detail

      • TransientResumeStrategy

        public TransientResumeStrategy​(org.apache.camel.resume.ResumeAdapter resumeAdapter)
    • Method Detail

      • setAdapter

        public void setAdapter​(org.apache.camel.resume.ResumeAdapter adapter)
        Specified by:
        setAdapter in interface org.apache.camel.resume.ResumeStrategy
      • getAdapter

        public org.apache.camel.resume.ResumeAdapter getAdapter()
        Specified by:
        getAdapter in interface org.apache.camel.resume.ResumeStrategy
      • getAdapter

        public <T extends org.apache.camel.resume.ResumeAdapter> T getAdapter​(Class<T> clazz)
        Specified by:
        getAdapter in interface org.apache.camel.resume.ResumeStrategy
      • start

        public void start()
        Specified by:
        start in interface org.apache.camel.Service
      • stop

        public void stop()
        Specified by:
        stop in interface org.apache.camel.Service