Package org.apache.camel.resume
Interface ResumeActionAware
-
- All Superinterfaces:
ResumeAdapter
public interface ResumeActionAware extends ResumeAdapter
Provides an interface for adapters and other resume-related code to allow them to offer a way to set actions to be executed during the resume process. This is most likely to be used in situations where the resume adapter does not have the information required to resume because the resume logic is too broad (i.e.: a database component trying to resume operations cannot know in advance what is the SQL to be executed). This provides a way for integrations to inject that part of the logic into the resume API.
-
-
Field Summary
-
Fields inherited from interface org.apache.camel.resume.ResumeAdapter
RESUME_ADAPTER_FACTORY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setResumeAction(ResumeAction resumeAction)
Sets an action that will be executed during resume-
Methods inherited from interface org.apache.camel.resume.ResumeAdapter
resume
-
-
-
-
Method Detail
-
setResumeAction
void setResumeAction(ResumeAction resumeAction)
Sets an action that will be executed during resume- Parameters:
resumeAction
- the action to execute during resume
-
-