Package org.apache.camel.resume
Class ResumeStrategyConfiguration
java.lang.Object
org.apache.camel.resume.ResumeStrategyConfiguration
Basic configuration holder for resume strategies
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets theCacheable.FillPolicy
for the cache used in the strategyResumeCache<?>
abstract String
Allows the implementation to provide custom strategy service factories.void
setCacheFillPolicy
(Cacheable.FillPolicy cacheFillPolicy) Sets theCacheable.FillPolicy
for the cache used in the strategyvoid
setResumeCache
(ResumeCache<?> resumeCache)
-
Constructor Details
-
ResumeStrategyConfiguration
public ResumeStrategyConfiguration()
-
-
Method Details
-
getCacheFillPolicy
Gets theCacheable.FillPolicy
for the cache used in the strategy- Returns:
- the fill policy to use
-
setCacheFillPolicy
Sets theCacheable.FillPolicy
for 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 theJdkService
strategy .This allows the strategy to be resolved automatically in runtime while also allowing fallback to manually constructed strategies when necessary- Returns:
-
getResumeCache
-
setResumeCache
-