We\'re experiencing an issue with one of our MQTT subscribers in Spring integration (4.0.3.RELEASE running on Tomcat 7 with the Paho MQTT Client 0.4.0).
The issue i
First of all share, please, the versions of Spring Integration and Paho Client.
According to the after doing a couple of redeploys
I see this code from CommsReceiver#.stop()
:
if (!Thread.currentThread().equals(recThread)) {
try {
// Wait for the thread to finish.
recThread.join();
}
catch (InterruptedException ex) {
}
}
Where Thread.join()
:
* Waits for this thread to die.
I'm really not sure what it means and how it should go further on that wait
, but won't the redeploy
be a bottleneck to allow for those daemons
to continue to live, because the main Thread doesn't die?