I have this problem with TMS MQTT, because the library does not work properly (does not connect to the broker) when used in a console application or Windows service.
Is it supposed to be like this or am I doing something wrong?
I'm really at a loss because I purchased this library with the idea of using it to transfer messages between microservices and here is such a "surprise".
I'll admit that I didn't check it thoroughly before purchasing it and I was suggested by the fact that you strongly emphasize that everything is thread-based.
And here there is clearly a problem with the creation of working threads when trying to connect to the broker.
Of course, in the "windows" application everything works as it should.