The Mqttv5PahoMessageHandler.publish()
fails with a Connect already in progress (32110)
under high concurrency
#9597
Milestone
When input channel for the endpoint with
Mqttv5PahoMessageHandler
is anExecutorChannel
and a lot of concurrent messages are sent, the following exception can be thrown:The code:
has to be guarded with a
Lock
to prevent concurrentconnect()
calls.The workaround is to add a
RequestHandlerRetryAdvice
into this endpoint.The text was updated successfully, but these errors were encountered: