[
https://issues.apache.org/jira/browse/CAMEL-5941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5941.
--------------------------------
Resolution: Won't Fix
> Add option to scheduled poll consumer to stop batch in case of error
> --------------------------------------------------------------------
>
> Key: CAMEL-5941
> URL: https://issues.apache.org/jira/browse/CAMEL-5941
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: Future
>
>
> See
> http://camel.465427.n5.nabble.com/how-to-break-out-of-a-batch-tp5723425.html
> We could add a new option {{breakOnError=true|false}}, which is {{false}} by
> default, to be like now.
> This would allow to break out of a batch in case of an error.
> Mind that some EIPs such as the aggregator with the completeFromBatchConsumer
> option would be affected if we break out. Then the ppl would need to have a
> timeout completion on the aggregator as well, to trigger the completion as
> the batch was breaked.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)