O'Reilly logo

RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Binding an app from iPhone to RabbitMQ via MQTT

MQTT (Message Queue Telemetry Transport) is an open source protocol, and is fast and lightweight. MQTT is widely used for the "Internet of Things". For more info, check out http://mqtt.org/ and http://en.wikipedia.org/wiki/Internet_of_Things.

In this example, we are going to create an app that binds an iOS mobile device to RabbitMQ via MQTT using the Mosquitto library (http://mosquitto.org/).

We will see how to receive a message sent by:

  • The RabbitMQ web management application presented in the Managing RabbitMQ from a browser recipe in Chapter 3, Managing RabbitMQ
  • The publisher introduced in the Working with message routing using topic exchanges recipe in Chapter 1, Working with AMQP

You can find the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required