> For the complete documentation index, see [llms.txt](https://theiotlearninginitiative.gitbook.io/ibminternetofthings/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theiotlearninginitiative.gitbook.io/ibminternetofthings/messaging.md).

# Messaging

> Integration and management of cloud-based and on-premises applications and data

* **MQ Light** Messaging API for application developers, based on the open AMQP standard. Clients available in node.js, Ruby, Python and Java
* **Message Hub** Messaging solution in IBM’s Bluemix cloud platform, based on Apache Kafka. Deploy as part of a cloud solution to build messaging into your apps.
* **IBM MQ** Run your enterprise messaging backbone with IBM MQ: our most powerful tools to maximise the speed and reliability of your business’ messaging.
* [IBM Messaging](http://www-03.ibm.com/software/products/en/category/messaging)
* [IBM Messaging Developer](https://developer.ibm.com/messaging/)
* [IBM Messaging Developer Blogs](https://developer.ibm.com/messaging/blogs/)
* [IBM Messaging Community](http://ibmmessaging.notlong.com)
* [IBM Community around IBM Messaging Products Github](https://github.com/theiotlearninginitiative/ibminternetofthings/tree/e125cfc194e343903f8fb9559286832c86453009/ibm-messaging/README.md)
* [IBM Messaging Youtube](https://www.youtube.com/user/IBMmessagingMedia?feature=watch)
* [IBM Messaging Github](https://github.com/ibm-messaging)

## MQ Light

> Based on AMQP
>
> IBM MQ Light A simple yet powerful AMQP based messaging API. Write apps that run locally, in the cloud, or alongside IBM MQ.

* [MQ Light Homepage](https://developer.ibm.com/messaging/mq-light/)
* [MQ Light Getting Started](https://developer.ibm.com/messaging/mq-light/docs/)
* [MQ Light Github](https://github.com/ibm-messaging?utf8=✓\&query=mqlight)
* [MQ Light Presentation](http://www.slideshare.net/nicholsr/ame4181-introducing-mq-light)
* [MQ Light and AMQP (Advanced Message Queuing Protocol)](https://developer.ibm.com/messaging/mq-light/docs/amqp/)

### MQ Light Applications

* [Getting started with Python apps using the MQ Light Service for Bluemix](https://developer.ibm.com/messaging/2015/02/19/getting-started-python-apps-using-mq-light-service-bluemix/)
* [MQ Light Python sample for Bluemix](https://github.com/theiotlearninginitiative/ibminternetofthings/tree/e125cfc194e343903f8fb9559286832c86453009/documentation/git%20clone%20https:/github.com/ibm-messaging/mqlight-python-bluemix/README.md)
* [Deploy a sample application in MQLight as a service in Bluemix](https://www.youtube.com/watch?v=iwSh8wGjB20)

```bash
    # pip install mqlight --pre
    # dpkg -l libuuid1
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                     Version           Architecture      Description
    +++-========================-=================-=================-=====================================================
    ii  libuuid1:amd64           2.20.1-5.1ubuntu2 amd64             Universally Unique ID library
```

```bash
    # nano mqlightrx.py
```

```python
    #!/usr/bin/python

    import mqlight

    def on_started(err):
      client.subscribe('news/technology', on_message=on_message)

    def on_message(message_type, data, delivery):
      print(data)

    client = mqlight.Client('amqp://localhost',on_started=on_started)
```

```bash
    # nano mqlighttx.py
```

```python
    #!/usr/bin/python

    import mqlight

    def on_started(err):
      client.send('news/technology', 'Hello World!')

    client = mqlight.Client('amqp://localhost',on_started=on_started)
```

### MQ Light Bluemix

## Message Hub

> A scalable, distributed, high throughput message bus in the cloud, available as a fully managed Bluemix service.

* [IBM Developer Works Message Hub Homepage](https://developer.ibm.com/messaging/message-hub/)

## IBM MessageSight

> It is an appliance, it is a Gateway to the Internet of Things and Mobile Messaging
>
> MessageSight is a messaging appliance designed to process large volumes of events in near real time and to handle a large number of concurrently connected devices (sensors or mobile devices)
>
> IBM® MessageSight is designed for the Internet of Things (IoT) and mobile environments. It provides a secure, DMZ-ready channel for lightweight, rapid, bi-directional messaging.

* [IBM MessageSight Homepage](http://www-03.ibm.com/software/products/en/messagesight)
* [IBM MessageSight Introduction](http://www.slideshare.net/AndrewSchofield4/iot-1899-introduction-tomessagesight-35266159)
* [IBM MessageSight Developers](https://developer.ibm.com/messaging/messagesight/)
* [Connecting IBM MessageSight to the Enterprise](http://www.slideshare.net/AndrewSchofield4/iot-1900-connecting-ibm-message-sight-to-the-enterprise)
