camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: GroupedExchangeAggregationStrategy not working with HawtDB
Date Thu, 01 Mar 2012 10:34:40 GMT
Hi

Then use a custom strategy, which can be persisted.
I will add a note on the wiki page about the limitations of
GroupedExchangeAggregationStrategy

On Thu, Mar 1, 2012 at 1:21 AM, wattsc3 <christopher.watts@anz.com> wrote:
> I'd been bashing my head against the wall trying to get the default
> aggregator (GroupedExchangeAggregationStrategy) working with HawtDB
> aggregator repo, trying to work out why the exchange came out had no
> properties until I found this on the help page.
> /"And it only persists the Message body and the Message headers. The
> Exchange properties are not persisted."
> /
>
> Give than GroupedExchangeAggregationStrategy does it by:
> /  "Aggregate all exchanges into a single combined Exchange holding all the
> aggregated exchanges in a java.util.List as a exchange property with the key
> org.apache.camel.Exchange.GROUPED_EXCHANGE."/
>
> So the question is, if these are the preferred solutions for aggregating why
> don't they work together. Does everyone just write their own aggregation
> strategy to store the list in the body instead of as a property?
>
> We need the persistence so the messages are recoverable.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/GroupedExchangeAggregationStrategy-not-working-with-HawtDB-tp5526447p5526447.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message