-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roger Clark <
syne...@gmail.com> wrote:
> Thanks Andy
>
> In this case, I think we'd need to make the IoT device into a
> publisher as well as a subscriber, so it could tell the server
> that the command has been actioned.
>
> The IoT device could of course tell the Broker that it failed
> to receive the data, but I presume that the Broker will
> immediately resend.
>
> If the Broker could be configured to wait a defined period
> before attempting to send the data, this would push the re-try
> stuff up onto the Broker instead of being in the subscriber
>
> But, I've not read the MQTT specs in enough detail to know if
> anything like that is possible
>
> Also, ideally, we'd need a method to query the Broker to
> determine if a specific message has been delivered or not.
>
> ... It sounds like we'll need to fork Mosquitto to do this sort of thing.
>
Or you know, look at messaging systems that provide this, rather
than forking to bolt on out of scope features :) Try looking at
systems like ActiveMQ instead, and the whole AMQP/JMS set of
implementations.
Cheers,
Karl P
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJWvQ3dAAoJEBmotQ/U1cr2AEMP/Rnn7DwXrdIusvG6aWJUWWCk
U90TaUwOP2Gyqz++ieUjY196SW5V2U5ct6fTz3kgrkrY5lXANFdLY/J8hDaA2UWI
IKkdXWMIIvVw4hXyf2Cx5bvnyWdSY64T2B4wof9GfhNLr9j0nglKX1CBoQywHxxo
/BvvwWK8TIKg4zXuUXR3PrF5grYFzX4PGwaom6WtyVzlyEwVRm3ee27ysqgwEJqT
GYXq276dEAHk80Gfynt2YkC6OMUISiMTBmVxmSqwz1P60EJo6tGOqHj3IJt1sCv1
7GCSiIxAf+NGdqcHRi6unO+teeERQzJZ6GVYDZUrqsHwXRnlVBDHPnpPpMwL06jk
URUvUj/VMxUIhqMxVJJ31EZS8kwrPp2uLcdUqKsW1bsSOpnxtxO02Y1gJLvOfIft
3Pnx4S13ATbzSsX/qCgHo+vrrFHTcnEkOWlyduSWuHdmYo2NUUrB8VEuF+nZkpyU
CNiKYlarCx/dJYyWRFZkwlWTOOtaQkMtOKcIKyMZShib1A8SzeaL2Ix3aw73T+y9
XV4IzCKkNcGBLHZcVF15dCjaSqxuQGwMSbL/Sy4KqXG79YlsAnNsdBEGCdEWRWz/
5J4ViQ4WId4dBxbqBwA6TzpdasjTuRqxMtWDKZd1d/fdF9QWHuhsuGYN53poRyYt
tiFcpzw0YzRlpN10/0gq
=1lcP
-----END PGP SIGNATURE-----