1 Star 0 Fork 1

Batman/vertx-examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.adoc 3.08 KB
一键复制 编辑 原始数据 按行查看 历史
Sammers21 提交于 2017-08-03 22:33 . readme update

Vert.x MQTT examples

Here you will find examples demonstrating Vert.x MQTT server and client in action.

Vert.x MQTT provides a server which is able to handle connections, communication and messages exchange with remote MQTT clients.

Vert.x MQTT provides also a client.

Please consult the Vert.x MQTT documentation for more information.

Examples can be run directly from the IDE by executing the main method. Alternatively, you can run them using the vertx command line tool (that need to be installed beforehand):

mvn clean compile
vertx run fully-qualified-name-of-the-example -cp target/classes

Adapt the -cp option value for your current working directory and operating system.

Dependencies required

To use Vert.x MQTT Server or Client in your own Maven or Gradle project add the following dependency

Group ID: io.vertx
Artifact ID: vertx-mqtt

MQTT examples

These examples demonstrate usage of Vert.x MQTT servers and clients.

Simple

This example consists of a simple server verticle which serves MQTT connections, and simply echoes back whatever it receives.

SSL

This is the same as the Simple example but using SSL to encrypt connections

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/icecream/vertx-examples.git
git@gitee.com:icecream/vertx-examples.git
icecream
vertx-examples
vertx-examples
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385