Java Groovy HTML Other
Clone or download
andsel Merge pull request #428 from ricardojlrufino/patch-1
Update MQTTMessageLogger.java
Latest commit 0ad6ffd Aug 11, 2018
Permalink
Failed to load latest commit information.
.github Added GitHub Issue template Oct 20, 2017
broker Update MQTTMessageLogger.java Aug 10, 2018
distribution Fixed issue #415 by adding a configuration flag to force subscription… Jul 19, 2018
documentation Added FSM documentation Nov 5, 2016
embedding_moquette Added javadocs to generated jars May 17, 2018
gradle Build tools update. Mar 12, 2018
h2_storage Minor, updated copyright date Apr 27, 2018
mapdb_storage Minor, updated copyright date Apr 27, 2018
perf Added dependency to Paho 1.2.0 Jun 27, 2018
tools_scripts Added dependency to Paho 1.2.0 Jun 27, 2018
.editorconfig switch to gradle Aug 24, 2017
.gitignore enable the usage of Netty OpenSSL provider implementation Jun 22, 2018
.travis.yml switch to gradle Aug 24, 2017
ChangeLog.txt Dropper Hazelcast because Moquette is not designed to be clusterizable Jul 20, 2018
README.md Minor just updated READMEs Jul 18, 2018
about.html Update about.html Apr 16, 2018
build.gradle Upgrade netty to 4.1.22 Jun 19, 2018
checkstyle-suppressions.xml checkstyle: resource folders excluded form check Feb 1, 2017
checkstyle.xml Fixed checkStyle and ErrorProne warns Apr 26, 2018
gradlew Build tools update. Mar 12, 2018
gradlew.bat Build tools update. Mar 12, 2018
license-eplv10-aslv20.html Added copyright and license notice to every source file, added about.… Jun 11, 2014
license.txt Added Apache 2.0 license Oct 4, 2013
settings.gradle Fixed package creation, missend bin/ folder Apr 27, 2018

README.md

What is Moquette?

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, uses Moquette embedded to interface with MQTT world.

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.

Try the demo instance

Point your browser to cloud instance, request an account then use it from your MQTT clients.

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.11.tar
cd bin
./moquette.sh

Or if you are on Windows shell

 cd bin
 .\moquette.bat

Embedding in other projects

To embed Moquette in another maven project is sufficient to include a repository and declare the dependency:

<repositories>
  <repository>
    <id>bintray</id>
    <url>https://jcenter.bintray.com</url>
    <releases>
      <enabled>true</enabled>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </repository>
</repositories>

Include dependency in your project:

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

Build from sources

After a git clone of the repository, cd into the cloned sources and: ./gradlew clean moquette-distribution:distMoquetteTar or ./gradlew clean moquette-distribution:distMoquetteZip.

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