[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] Is there anyway to subscribe clients/bridge DISCONNECT?
|
Cool, this is exactly what I am looking for!
I was missing "notifications" configuration part.
Thanks!
On Wed Dec 17 2014 at 下午9:14:19 Bradley, Dwayne <
Dwayne.Bradley@xxxxxxxxxxxxxxx> wrote:
From the example mosquitto.conf file:
# Choose the topic on which notification messages for this bridge are
# published. If not set, messages are published on the topic
# $SYS/broker/connection/<clientid>/state
#notification_topic
If you set a client-id for the bridge connection, I would think you would see the state change. Does this help?
*** Exercise caution. This is an EXTERNAL email. DO NOT open attachments or click links from unknown senders or unexpected email. ***
I have noticed that the broker starting with debug option "-v" it will print some clients/bridges connect/disconnect events and I want to "Is there any way to subscribe those events?"
All I want to do is when someone drop it's connection I could know and WILL message seems like to be worked only with "clients" but no broker in bridge mode.
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev