Project: mule
Issue MULE-8051: Scatter-Gather: Custom Aggregation Strategy - AggregationContext gives wrong events when exceptions occur
When implementing a custom aggregation strategy (as a Java class) as in the documentation: http://www.mulesoft.org/documentation/display/current/Scatter-Gather , section Complete Code Example there seems to be an issue with messages that throw exceptions. It seems that the method collectEventsWithExceptions() from AggregationContext gives the event(s) as they were before entering the Scatter-Gather. So it is basically impossible to get the message(s) that actually caused the exception. collectEventsWithoutExceptions() - works as expected
Story points: 8