文件名称:EventBus代理生成vertx-service-proxy.zip
文件大小:105KB
文件格式:ZIP
更新时间:2022-08-07 21:30:31
开源项目
vertx-service-proxy 是 EventBus 代理生成。示例:// Assume database service is already deployed somewhere.... // Save some data in the database JsonObject message = new JsonObject(); message.putString("collection", "mycollection"); message.putObject("document", new JsonObject().putString("name", "tim")); DeliveryOptions options = new DeliveryOptions().addHeader("action", "save"); vertx.eventBus().send("database-service-address", message, options, res2 -> { if (res2.succeeded()) { // done } } 标签:vertx
【文件预览】:
vertx-service-proxy-master
----.travis.yml(893B)
----pom.xml(9KB)
----.travis.deploy.artifacts.sh(333B)
----src()
--------test()
--------main()
----.gitignore(198B)
----README.md(3KB)
----.editorconfig(147B)
----.travis.maven.settings.xml(528B)
----LICENSE.txt(11KB)