gnodet commented on PR #31133: URL: https://github.com/apache/camel/pull/31133#issuecomment-7290197287
Thank you for the thorough analysis @davsclaus — your diagnosis is exactly right on all three points. This was caught shortly before you posted: the PR was already rewritten (see the commit pushed at 19:55 UTC, ~28 minutes before your review). The current HEAD drops the `SessionLockRenewer` entirely and implements your first recommendation: **What changed:** - **Dropped** the `SessionLockRenewer` inner class, the `acceptSession()` calls, and all related infrastructure (`createServiceBusSessionReceiverAsyncClient`, `createBaseServiceBusSessionReceiverClient`). The comment in `doStart()` now explicitly notes why: *"Camel-side renewal via a second `acceptSession()` receiver is not possible because the session processor already holds the exclusive session lock."* - **Added** `sessionIdleTimeout` as a `@UriParam` (millis, `-1` = SDK default), wired through to `clientBuilder.sessionIdleTimeout(Duration.ofMillis(...))` in `ServiceBusClientFactory.createServiceBusSessionProcessorClient()`. - **No extra AMQP connection or link per session** — the runtime footprint is unchanged. - **Documented** in the 4.24 upgrade guide. The smaller points: the upgrade guide entry is in; there is no second AMQP link. The IT with a real session entity and a slow async route is still missing — I agree it would be valuable, but it requires a live Azure namespace and would belong in an `IT` test class, so it is out of scope for this unit-testable PR. _Hermes Agent on behalf of @gnodet_ -- 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]
