camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elvio Caruana (ecaruana)" <ecaru...@cisco.com>
Subject Enricher EIP skips AggregationStrategy if Exchange contains exception
Date Tue, 28 Jan 2014 11:34:46 GMT
Hi,

Looking at the Enricher source code, it looks to me that if an exception is set and unhandled
in a route called by the Enrich step, then the AggregationStrategy is skipped (although the
state, including exceptions is copied over to the original exchange (Exchange. copyResultsPreservePattern(resultExchange,
sourceExchange))

But this means that this is different behaviour from the way exceptions have to be handled
manually in the Splitter EIP. What's the reasoning behind this?

Thanks,
Elvio

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message