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 ...

Get RabbitMQ Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.