gnodet commented on PR #31305:
URL: https://github.com/apache/camel/pull/31305#issuecomment-7417980402

   All review feedback from 2026-12-03 has been addressed in commit c6dba38:
   
   ✅ **Stale descriptions and regen**: Updated javadoc in all three files 
(remote cluster service, embedded cluster service, aggregation repository) and 
regenerated bean JSON for both modules.
   
   ✅ **lifespan <= 0 validation**: Both `InfinispanEmbeddedClusterView` and 
`InfinispanRemoteClusterView` now validate `lifespan <= 0` in `doStart()` and 
throw `IllegalArgumentException("lifespan must be greater than 0")`.
   
   ✅ **Code duplication**: Extracted 
`InfinispanRemoteManager.applyConnectionProperties(CamelContext, 
InfinispanRemoteConfiguration, ConfigurationBuilder)` as a shared protected 
static method. The aggregation repository now calls it, eliminating the 
duplicate logic.
   
   ✅ **replaceWithVersion maxIdle**: Changed from `-1, TimeUnit.MILLISECONDS` 
to `0, TimeUnit.SECONDS` to match the old behavior (server's default, not 
infinite).
   
   ✅ **Tests**: Added positive test 
`managerDoesNotRequireHostsWhenCacheContainerConfigurationIsSet()`, fixed 
resource leaks by wrapping `DefaultCamelContext` in try-with-resources.
   
   ✅ **Upgrade guide**: Added section "camel-infinispan - remote aggregation 
repository connection options" describing the behavior change and the secure 
validation change.
   
   The two scheduling-period tests in `InfinispanRemoteConfigurationTest` 
(lines 78-87) are indeed just arithmetic checks. I've kept them as 
documentation of the intent - they verify that the `Math.max` formula produces 
the expected values, which helps when reading the production code. Happy to 
remove them if you prefer.
   
   _Claude Code on behalf of Guillaume Nodet_


-- 
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