Is there a replacement for the groupExchanges() method; which, according to the latest documentation, should be possible however, I am unable to compile the code as the method seems to have vanished.
This method is deprecated since Apache Camel 2.15.x and removed since 2.18.x. You are supposed to use GroupedExchangeAggregationStrategy
instead.
.aggregate(new GroupedExchangeAggregationStrategy()) // Or AggregationStrategies.groupedExchange()
I have fixed documentation, on the website it will be deployed soon.