This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new b5989d42df07 CAMEL-23937: Add upgrade guide entry for Azure Service 
Bus lock renewal (4.18.4 backport doc-sync)
b5989d42df07 is described below

commit b5989d42df0763789a3870b362716097ac5828bd
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 9 13:40:32 2026 +0200

    CAMEL-23937: Add upgrade guide entry for Azure Service Bus lock renewal 
(4.18.4 backport doc-sync)
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc        | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
index cffcb41adda0..ee9427c87c93 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
@@ -13,6 +13,24 @@ See the xref:camel-upgrade-recipes-tool.adoc[documentation] 
page for details.
 
 == Upgrading from 4.18.3 to 4.18.4
 
+=== camel-azure-servicebus - Camel-managed message lock renewal
+
+When consuming from Azure Service Bus in `PEEK_LOCK` mode with 
`maxAutoLockRenewDuration > 0`, Camel now
+actively renews message locks using a dedicated 
`ServiceBusReceiverAsyncClient` and Camel's internal
+`PeriodTaskScheduler`. This addresses a limitation where the Azure SDK's 
built-in lock renewal is tied
+to the `processMessage` callback duration, which returns immediately for 
asynchronous Camel routes —
+causing long-running exchanges to silently lose their message locks.
+
+The new behavior activates automatically when all of the following are true:
+
+* No custom `processorClient` is provided
+* Receive mode is `PEEK_LOCK`
+* `maxAutoLockRenewDuration > 0`
+* Session mode is disabled
+
+No configuration changes are required. The existing `maxAutoLockRenewDuration` 
option controls how long
+Camel will continue renewing a message's lock.
+
 === camel-mail - MimeMultipartDataFormat inbound header filtering
 
 When unmarshalling a MIME message with `headersInline=true`, the 
`mime-multipart` data format now applies a

Reply via email to