Package org.apache.camel.resume
Class ResumeStrategyConfiguration
- java.lang.Object
-
- org.apache.camel.resume.ResumeStrategyConfiguration
-
public abstract class ResumeStrategyConfiguration extends Object
Basic configuration holder for resume strategies
-
-
Constructor Summary
Constructors Constructor Description ResumeStrategyConfiguration()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Cacheable.FillPolicygetCacheFillPolicy()Gets theCacheable.FillPolicyfor the cache used in the strategyResumeCache<?>getResumeCache()abstract StringresumeStrategyService()Allows the implementation to provide custom strategy service factories.voidsetCacheFillPolicy(Cacheable.FillPolicy cacheFillPolicy)Sets theCacheable.FillPolicyfor the cache used in the strategyvoidsetResumeCache(ResumeCache<?> resumeCache)
-
-
-
Method Detail
-
getCacheFillPolicy
public Cacheable.FillPolicy getCacheFillPolicy()
Gets theCacheable.FillPolicyfor the cache used in the strategy- Returns:
- the fill policy to use
-
setCacheFillPolicy
public void setCacheFillPolicy(Cacheable.FillPolicy cacheFillPolicy)
Sets theCacheable.FillPolicyfor 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 theJdkServicestrategy .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)
-
-