Hi all,

I'm having a strange issue while using the FlexibleAggregationStrategy with
spring boot. Below is a sample and trivial route I just made up to
demonstrate the issue:



Along with the relevant unit test:


The test fails with the following unexpected exception:


And from the log we can see that it has failed at the second aggregate step
of the route. 
Just for fun, I've also tried changing the second aggregation to produce
HashSet, and here's the resulting exchange:

So it looks like either spring or camel are trying to aggregate back into an
HashSet of messages instead of an empty one

The question is:
Am I doing something wrong? Or is it an actual bug?

If anyone wants to have a deeper look, I've put online a small test project
here:
https://gitlab.com/g.condello/camel-split-join-issue

Thanks :)





--
View this message in context: 
http://camel.465427.n5.nabble.com/java-lang-ClassCastException-when-using-FlexibleAggregationStrategy-with-Spring-Boot-tp5793473.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to