gnodet commented on PR #26845: URL: https://github.com/apache/camel/pull/26845#issuecomment-5815745030
@apupier You're right — `softEvictConnections()` is on `HikariPoolMXBean`, not on `HikariDataSource` directly. The previous code would always hit `NoSuchMethodException` in production. Fixed in c1aa008b: we now retrieve the MXBean via `getHikariPoolMXBean()` (a public method on `HikariDataSource`) using reflection, then call `softEvictConnections()` on it. Tests were updated to simulate the real two-step indirection correctly. -- 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]
