[rabbitmq-discuss] Connect/Disconnect Queue

Matthias Radestock matthias at rabbitmq.com
Wed Nov 13 12:58:36 GMT 2013

On 13/11/13 12:34, Lars Ellebo wrote:
> Is there a way to configure a Queue that will generate a message every time
> a user Connects or Disconnects ?
> The message shall contain at least the UserId and whether the Used did
> Connect or Disconnect.

You can do this with MQTT (http://www.rabbitmq.com/mqtt.html):

1) get apps to send a "user <id> is connecting" message just after 
connecting, and

2) get apps to set the Last Will and Testament message to "user <id> is 
disconnecting" message.

That does require the apps to play nicely though.


More information about the rabbitmq-discuss mailing list