All Projects → abdlquadri → Vertx Eventbus Java

abdlquadri / Vertx Eventbus Java

A Vert.x EventBus client written in Java, works on Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Vertx Eventbus Java

vertx-vue-keycloak
This repo holds the source codes for the Medium Article "Vert.x + VueJS + OAuth2 in 5 steps"
Stars: ✭ 20 (+0%)
Mutual labels:  eventbus, vertx
IntroduceToEclicpseVert.x
This repository contains the code of Vert.x examples contained in my articles published on platforms such as kodcu.com, medium, dzone. How to run each example is described in its readme file.
Stars: ✭ 27 (+35%)
Mutual labels:  eventbus, vertx
vxrifa
Utility library for Vert.X that allows using strong-typed interfaces in communication through EventBus
Stars: ✭ 15 (-25%)
Mutual labels:  eventbus, vertx
Websockets-Vertx-Flink-Kafka
A simple request response cycle using Websockets, Eclipse Vert-x server, Apache Kafka, Apache Flink.
Stars: ✭ 14 (-30%)
Mutual labels:  eventbus, vertx
Vertx Zero
Zero Framework:http://www.vertxup.cn
Stars: ✭ 320 (+1500%)
Mutual labels:  eventbus, vertx
Event bus
🏄 Traceable, extendable and minimalist **event bus** implementation for Elixir with built-in **event store** and **event watcher** based on ETS.
Stars: ✭ 563 (+2715%)
Mutual labels:  eventbus
Mycat2
MySQL Proxy using Java NIO based on Sharding SQL,Calcite ,simple and fast
Stars: ✭ 750 (+3650%)
Mutual labels:  vertx
Vertx Guide For Java Devs
Vert.x 3 guide for Java developers
Stars: ✭ 500 (+2400%)
Mutual labels:  vertx
Olin
Webassembly + Event Sourcing
Stars: ✭ 426 (+2030%)
Mutual labels:  eventbus
Awesome Third Library Source Analysis
📖 Deep understanding of popular open source library source code (optimizing...)
Stars: ✭ 866 (+4230%)
Mutual labels:  eventbus
Oak
A pure Go game engine
Stars: ✭ 847 (+4135%)
Mutual labels:  eventbus
Es4x
🚀 fast JavaScript 4 Eclipse Vert.x
Stars: ✭ 669 (+3245%)
Mutual labels:  vertx
Familybucket
集合.net core、ocelot、consul、netty、rpc、eventbus、configserver、tracing、sqlsugar、vue-admin、基础管理平台等构建的微服务一条龙应用
Stars: ✭ 629 (+3045%)
Mutual labels:  eventbus
Iris
Convenient wrapper library to perform network queries using Retrofit and Android Priority Job Queue (Job Manager)
Stars: ✭ 17 (-15%)
Mutual labels:  eventbus
Cap
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
Stars: ✭ 5,208 (+25940%)
Mutual labels:  eventbus
Vertx Web
HTTP web applications for Vert.x
Stars: ✭ 853 (+4165%)
Mutual labels:  vertx
Vbrowser Android
全网视频嗅探缓存APP
Stars: ✭ 499 (+2395%)
Mutual labels:  eventbus
Vertx Blueprint Microservice
Vert.x Blueprint Project - Micro-Shop microservice application
Stars: ✭ 663 (+3215%)
Mutual labels:  vertx
Swifteventbus
A publish/subscribe EventBus optimized for iOS
Stars: ✭ 937 (+4585%)
Mutual labels:  eventbus
Smartrecom
一款基于行为识别和个性化推荐的智能推荐APP,实时为你推荐音乐和电影,让你的生活更休闲,更精彩!
Stars: ✭ 663 (+3215%)
Mutual labels:  eventbus

vertx-eventbus-java

A Vert.x EventBus client written in Java uses Netty, works on Android 2.3.7 +:

Testing

./gradlew test

Building

./gradlew build . The jar file will be in build/libs.

Dependencies

    compile "io.netty:netty-handler:4.1.0.Beta8"
    compile "org.sharegov:mjson:1.3"

Sample projects

Usage

final CountDownLatch countDownLatch = new CountDownLatch(1);
EventBus.connect("127.0.0.1", 7000, new ConnectHandler() {
  @Override
  public void connected(boolean isConnected) {
    if (isConnected) {
      assertTrue(isConnected);
    } else {
      assertFalse(isConnected);
    }
    countDownLatch.countDown();
  }
});
countDownLatch.await();
final CountDownLatch countDownLatch = new CountDownLatch(1);
EventBus.registerHandler("hello", new Handler() {
  @Override
  public void handle(String message) {

    assertEquals("some messgae", Json.read(message).at("body").at("value").asString());
    countDownLatch.countDown();
  }
});

EventBus.publish("hello", Json.object().set("value", "some messgae").toString());
countDownLatch.await();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].