Class DelegatingResumeStrategy
- java.lang.Object
-
- org.apache.camel.processor.resume.DelegatingResumeStrategy
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.ResumeStrategy
,org.apache.camel.Service
public class DelegatingResumeStrategy extends Object implements org.apache.camel.ResumeStrategy
A delegating strategy that can be used to delegate to and/or abstract resume strategies
-
-
Constructor Summary
Constructors Modifier Constructor Description DelegatingResumeStrategy()
protected
DelegatingResumeStrategy(List<org.apache.camel.ResumeStrategy> resumeStrategies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(org.apache.camel.ResumeStrategy resumeStrategy)
void
build()
void
close()
void
init()
boolean
remove(Object resumeStrategy)
boolean
removeIf(Predicate<? super org.apache.camel.ResumeStrategy> filter)
void
resume()
void
start()
void
stop()
String
toString()
-
-
-
Constructor Detail
-
DelegatingResumeStrategy
public DelegatingResumeStrategy()
-
DelegatingResumeStrategy
protected DelegatingResumeStrategy(List<org.apache.camel.ResumeStrategy> resumeStrategies)
-
-
Method Detail
-
add
public boolean add(org.apache.camel.ResumeStrategy resumeStrategy)
-
remove
public boolean remove(Object resumeStrategy)
-
removeIf
public boolean removeIf(Predicate<? super org.apache.camel.ResumeStrategy> filter)
-
resume
public void resume()
- Specified by:
resume
in interfaceorg.apache.camel.ResumeStrategy
-
start
public void start()
- Specified by:
start
in interfaceorg.apache.camel.Service
-
stop
public void stop()
- Specified by:
stop
in interfaceorg.apache.camel.Service
-
build
public void build()
- Specified by:
build
in interfaceorg.apache.camel.Service
-
init
public void init()
- Specified by:
init
in interfaceorg.apache.camel.Service
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.apache.camel.Service
- Throws:
IOException
-
-