Files
spring-integration/spring-integration-mqtt/src
Artem Bilan 334620f36e GH-9597: Fix Mqttv5PahoMessageHandler.publish() for concurrency
Fixes: #9597
Issue link: https://github.com/spring-projects/spring-integration/issues/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`

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-25 16:52:27 -04:00
..