Hi Jesús, Message queuing for disconnected clients requires a few conditions to be met. You should check these:
* the client must be a persistent client (have clean session set to false) * the client must have a subscription with QoS>0. * incoming messages to be queued must have QoS>0. If any of those aren't met, the messages won't be queued. The one I normally forget is subscribing to QoS>0. Mosquitto 0.16 will allow queuing of messages with QoS=0, but this is a feature beyond the protocol spec so it probably shouldn't be relied upon. Hope this helps, Roger On Tue, Jun 5, 2012 at 11:08 AM, Jesús Iglesias <[email protected]> wrote: > Hi all, > > I have a system with publishers subscribers and everything works fine except > when a suscriber is not available. > It's supossed to Mosquitto being queueing all messages to that user and > sending all of them when the user is available, but instead it's only > sending the last message and the previous are being discarded. > > Am i doing something wrong? > > > Regards, > Jesus > > _______________________________________________ > Mailing list: https://launchpad.net/~mqtt-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~mqtt-users > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~mqtt-users Post to : [email protected] Unsubscribe : https://launchpad.net/~mqtt-users More help : https://help.launchpad.net/ListHelp

