You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/01/08 15:00:13 UTC

[jira] [Created] (CAMEL-5941) Add option to scheduled poll consumer to stop batch in case of error

Claus Ibsen created CAMEL-5941:
----------------------------------

             Summary: 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
             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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira