Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Action API to support stop/split/aggregation #34

Closed
germanescobar opened this issue Jul 1, 2012 · 1 comment
Closed

Improve Action API to support stop/split/aggregation #34

germanescobar opened this issue Jul 1, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@germanescobar
Copy link
Contributor

Actions should be able to stop a message, split into multiple messages and aggregate messages.

@ghost ghost assigned germanescobar Jul 1, 2012
@germanescobar
Copy link
Contributor Author

I leave the Action class intact but created an Execution interface that is implemented internally and can be injected using the @Resource annotation inside an Action. It exposes methods to stop the execution of the current message and to route new messages.

I liked this approach because it leaves the Action interface simple and offers an alternative if you need to do the stop/split/aggregate thing.

germanescobar added a commit that referenced this issue Jul 3, 2012
Create a new Execution interface.
Modify the ActionsProcessor to inject the Execution and support it.
Modify the AbstractCamelConnectorService to support the new functionality.
Add some tests.
arcodergh pushed a commit that referenced this issue May 3, 2016
Create a new Execution interface.
Modify the ActionsProcessor to inject the Execution and support it.
Modify the AbstractCamelConnectorService to support the new functionality.
Add some tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant