Skip to content

moquette-io/moquette

Repository files navigation

ServerIntegrationOpenSSLTestJava CI with Maven

Moquette Project

Build Status

Moquette aims to be a MQTT compliant broker. The broker supports QoS 0, QoS 1 and QoS 2.

Its designed to be evented, uses Netty for the protocol encoding and decoding part.

Embeddable

Freedomotic is an home automation framework and uses Moquette embedded to interface with MQTT by a specific plugin.

Moquette is also used into Atomize Spin a software solution for the logistic field.

Part of moquette are used into the Vertx MQTT module, into MQTT spy and into WSO2 Messge broker.

1 minute set up

Start play with it, download the self distribution tar from BinTray , the un untar and start the broker listening on 1883 port and enjoy!

tar xvf moquette-distribution-0.15.tar.gz
cd bin
./moquette.sh

Or if you are on Windows shell

 cd bin
 .\moquette.bat

Embedding in other projects

Include dependency in your project:

<dependency>
      <groupId>io.moquette</groupId>
      <artifactId>moquette-broker</artifactId>
      <version>0.15</version>
</dependency>

Build from sources

After a git clone of the repository, cd into the cloned sources and: ./gradlew package, at the end the distribution package is present at distribution/target/distribution-0.17-SNAPSHOT-bundle.tar.gz

In distribution/target directory will be produced the selfcontained file for the broker with all dependencies and a running script.