[
https://issues.apache.org/jira/browse/CAMEL-7581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117142#comment-14117142
]
Claus Ibsen commented on CAMEL-7581:
------------------------------------
We should keep the current behavior, and we can add an option to call aggregate
even if the exchange failed.
As enrich / pollEnrich is for a single endpoint then it makes sense to keep the
behavior as if its like a .to(uri) where if an exception was thrown, then the
enricher / pollEnricher behaves the same as .to(uri) does.
There can be use-cases where you want to handle the exception in the
aggregation strategy, and thus a flag to allow to do that.
> Enrich and pollEnrich should call aggregate even if exception occurred
> ----------------------------------------------------------------------
>
> Key: CAMEL-7581
> URL: https://issues.apache.org/jira/browse/CAMEL-7581
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, eip
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.14.0
>
>
> This is the behavior that multicast/splitter/recipient list does. So we
> should do that same for enricher/pollEnrich.
> See nabble
> http://camel.465427.n5.nabble.com/Enricher-EIP-skips-AggregationStrategy-if-Exchange-contains-exception-td5746533.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)