Over a million developers have joined DZone.

Apache Camel Doing IoT to Help Measure Air Quality in the Streets of France

A look at an IoT device to gather air quality metrics, use MQTT protocols and ActiveMQ for message brokering, and process the data using Apache Camel.

· IoT Zone

Access the survey results 'State of Industrial Internet Application Development' to learn about latest challenges, trends and opportunities with Industrial IoT, brought to you in partnership with GE Digital.

Today I read a very interesting blog post from Abdellatif Bouchama, about a system he developed in less than a day, that gathers air quality metrics from IoT devices from the cities of France, and then using MQTT protocol gathers the data using ActiveMQ message broker, and then process the data using Apache Camel, inserting the data into an Elasticsearch database.

IoT devises sending air quality data over MQTT to A-MQ broker for further processing by Apache Camel - Using JBoss Fuse product.

When data are in Elasticsearch there is lovely web consoles such as Kibana that can present the data in geo graphical displays.

Geo graphical display using Kibana to highligh the cities with air quality data

I encourage you to continue reading this blog from the original posting at bushhorn. The post is here.
The source code of this is posted on github as well.

PS: Yes the Camel route is only 3 lines of code (4 if you add the log statement) ;)

Well done Abdellatif.

PS: If you are interested in more about IoT and Apache Camel, then there is the new community project called camel-labs that provides a number of Camel components and tooling around this very topic.

The IoT Zone is brought to you in partnership with GE Digital.  Discover how IoT developers are using Predix to disrupt traditional industrial development models.

iot,frameworks,integration,apache camel,mqtt,internet of things

Published at DZone with permission of Claus Ibsen, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}