eclipse / paho.mqtt.m2mqtt

Eclipse Public License 1.0
512 stars 303 forks source link

Unable to run client as windows service #69

Closed sameerbetageri1991 closed 6 years ago

sameerbetageri1991 commented 6 years ago

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.