You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/08/25 12:21:00 UTC

[jira] [Resolved] (CAMEL-24465) Paho MQTT consumers leak owned clients and threads after startup failures

     [ https://issues.apache.org/jira/browse/CAMEL-24465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-24465.
---------------------------------
    Resolution: Fixed

> Paho MQTT consumers leak owned clients and threads after startup failures
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-24465
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24465
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-paho, camel-paho-mqtt5
>            Reporter: NMK
>            Priority: Major
>             Fix For: 4.23.0
>
>
> Camel Paho V3 and V5 consumers only disconnect clients when {{isConnected()}} is true and never force-close internally created clients after failed startup. Repeated connection/subscribe timeouts retain Paho clients, Camel contexts, timer threads, and communication resources until the process reaches OOM. Owned clients should always be force-closed on startup failure and shutdown, while externally supplied clients remain untouched.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)