eclipse/paho.mqtt.m2mqtt

Unable to run client as windows service

sameerbetageri1991 opened this issue · 0 comments

I am running a windows service which is subscribing for a "XYZ" topic to a MQTT broker. Service also contains MessagePublishReceived Event which is logging the received message from Mqtt Broker. I am able to run this windows service but the problem i am facing is the MessagePublishReceived event is triggered only once. Even when there is new publish from the Mqtt broker my windows service is unable to fire the MessagePublishReceived Event. Any Help in this regard is very much apreciated.