Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-9597: Fix
Mqttv5PahoMessageHandler.publish()
for concurrency
Fixes: #9597 Issue link: #9597 When input channel for the endpoint with a `Mqttv5PahoMessageHandler` is an `ExecutorChannel` and a lot of concurrent messages are sent, the `Connect already in progress (32110)` exception can be thrown * Wrap `this.mqttClient.connect()` in the `Mqttv5PahoMessageHandler.publish()` into a `Lock` (cherry picked from commit 334620f)
- Loading branch information