Class ResumeStrategyConfiguration

java.lang.Object
org.apache.camel.resume.ResumeStrategyConfiguration

public abstract class ResumeStrategyConfiguration extends Object
Basic configuration holder for resume strategies
  • Constructor Details

    • ResumeStrategyConfiguration

      public ResumeStrategyConfiguration()
  • Method Details

    • getCacheFillPolicy

      public Cacheable.FillPolicy getCacheFillPolicy()
      Gets the Cacheable.FillPolicy for the cache used in the strategy
      Returns:
      the fill policy to use
    • setCacheFillPolicy

      public void setCacheFillPolicy(Cacheable.FillPolicy cacheFillPolicy)
      Sets the Cacheable.FillPolicy for the cache used in the strategy
      Parameters:
      cacheFillPolicy - the fill policy to use
    • resumeStrategyService

      public abstract String resumeStrategyService()
      Allows the implementation to provide custom strategy service factories. It binds to service name provided in the JdkService strategy .This allows the strategy to be resolved automatically in runtime while also allowing fallback to manually constructed strategies when necessary
      Returns:
    • getResumeCache

      public ResumeCache<?> getResumeCache()
    • setResumeCache

      public void setResumeCache(ResumeCache<?> resumeCache)