nkokitkar opened a new pull request, #26476:
URL: https://github.com/apache/camel/pull/26476

   # Description
   
   Restarts a Camel-owned Paho MQTT v3 consumer route asynchronously when 
automatic reconnect succeeds but topic resubscription fails. Without recovery, 
the route can continue reporting `Started` while its consumer is silently 
unable to receive messages.
   
   Although `camel-paho` is deprecated, this narrow reliability fix serves 
existing MQTT 3.1/3.1.1 users who cannot migrate immediately. It mirrors the 
accepted MQTT5 recovery in 
[CAMEL-24511](https://issues.apache.org/jira/browse/CAMEL-24511) / #25767 while 
preserving the owned/shared client cleanup semantics from 
[CAMEL-24465](https://issues.apache.org/jira/browse/CAMEL-24465) / #25508.
   
   Tracking: [CAMEL-24523](https://issues.apache.org/jira/browse/CAMEL-24523)
   
   ## Testing
   
   - JDK 21
   - `mvn formatter:format impsort:sort` in `components/camel-paho`
   - `mvn -pl components/camel-paho -am -Dquickly install`
   - `mvn test` in `components/camel-paho`: 28 tests, 0 failures, 0 errors, 0 
skipped
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   - [x] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   - [ ] I have run `mvn clean install -DskipTests` locally from root folder 
and I have committed all auto-generated changes.
   
   # AI-assisted contributions
   
   - [x] If this PR includes AI-generated code, commits have proper 
co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR 
description identifies the AI tool used.
   
   _GitHub Copilot on behalf of nkokitkar_microsoft._


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