野火社区版IM服务,野火IM的核心服务,处理所有IM相关业务。

Andreas Mager e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
broker e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
distribution e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
documentation b51b3214ba Added FSM documentation %!s(int64=9) %!d(string=hai) anos
embedding_moquette e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
gradle e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
h2_storage e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
mapdb_storage e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
osgi_test e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
perf e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
tools_scripts 83be327bd3 Started dev cycle for 0.11 %!s(int64=8) %!d(string=hai) anos
.editorconfig e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
.gitignore e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
.travis.yml e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
ChangeLog.txt 29ef00f24e broker/NettyAcceptor: epoll added %!s(int64=8) %!d(string=hai) anos
README.md e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
about.html 666cc29d47 Added copyright and license notice to every source file, added about.html and license.htl %!s(int64=11) %!d(string=hai) anos
build.gradle e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
checkstyle-suppressions.xml e2aa30d139 checkstyle: resource folders excluded form check %!s(int64=8) %!d(string=hai) anos
checkstyle.xml a5a56e59c7 checkstyle: NewlineAtEndOfFile fixed for windows %!s(int64=8) %!d(string=hai) anos
gradlew e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
gradlew.bat e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos
license-eplv10-aslv20.html 666cc29d47 Added copyright and license notice to every source file, added about.html and license.htl %!s(int64=11) %!d(string=hai) anos
license.txt af8c0e3b9a Added Apache 2.0 license %!s(int64=12) %!d(string=hai) anos
settings.gradle e8b105fa90 switch to gradle %!s(int64=8) %!d(string=hai) anos

README.md

What is Moquette?

Build Status

  • Documentation reference guide Guide on how to use and configure Moquette
  • Google Group Google Group to participate in development discussions. 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 MQTT client to broker.moquette.io

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 zxf distribution-0.10-bundle-tar.tar.gz
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.10</version>
</dependency>

Build from sources

After a git clone of the repository, cd into the cloned sources and: ./gradlew clean distribution:distMoquetteTar or ./gradlew clean distribution:distMoquetteZip. In distribution/build directory will be produced the selfcontained file for the broker with all dependencies and a running script.