Croway opened a new pull request, #28110:
URL: https://github.com/apache/camel/pull/28110

   [CAMEL-25819](https://issues.apache.org/jira/browse/CAMEL-25819)
   
   `AggregateProcessor.doStart()` assigned the auto-discovered 
`KeyValueAggregationRepository` directly to the field, so 
`isRecoverableRepository` (only set in `setAggregationRepository()`) stayed 
`false`. The recover checker was never scheduled, a failed aggregated exchange 
was never redelivered, and its `completed:` entry stayed in the 
`KeyValueRepository`.
   
   The fix calls `setAggregationRepository(...)` instead.
   
   `AggregateAutoDiscoveredKeyValueRepositoryRecoverTest` binds a 
`MemoryKeyValueRepository` in the registry, fails the first delivery and 
expects a redelivery, then an empty repository. It fails without the fix. All 
220 tests in `org.apache.camel.processor.aggregator` pass.
   
   _Claude Code on behalf of Croway (Federico Mariani)_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to