The JBoss AMQ broker exposed an MQTT interface that can be used to connect IoT devices. The goal of this section is to demonstrate, in a practical sample, how the MQTT lightweight protocol capabilities can be used to connect IoT devices with other systems. Let's consider the Beosbank money remittance agencies for example; each agency has special equipment (BeosbankIOTDevice) designed with Raspery PI to serve the following causes:
- A waiting queue manager: Each visitor in the agency should hit a button on the equipment to print a ticket. The equipment periodically (every 5 minutes) sends the total numbers of visitors in the agency to a control center.
- A screen to display some messages to visitors: Messages are designed and planned by control centers, and the screen is also used to display the partner's advertisements.
IoT devices and backend systems...