Package org.apache.camel.resume
Class ResumeStrategyConfiguration
java.lang.Object
org.apache.camel.resume.ResumeStrategyConfiguration
Basic configuration holder for resume strategies
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theCacheable.FillPolicyfor the cache used in the strategyResumeCache<?> abstract StringAllows the implementation to provide custom strategy service factories.voidsetCacheFillPolicy(Cacheable.FillPolicy cacheFillPolicy) Sets theCacheable.FillPolicyfor the cache used in the strategyvoidsetResumeCache(ResumeCache<?> resumeCache)
-
Constructor Details
-
ResumeStrategyConfiguration
public ResumeStrategyConfiguration()
-
-
Method Details
-
getCacheFillPolicy
Gets theCacheable.FillPolicyfor the cache used in the strategy- Returns:
- the fill policy to use
-
setCacheFillPolicy
Sets theCacheable.FillPolicyfor the cache used in the strategy- Parameters:
cacheFillPolicy- the fill policy to use
-
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
-
setResumeCache
-