Class MessageSourceServiceDiscovery
- java.lang.Object
-
- org.dominokit.domino.service.discovery.type.MessageSourceServiceDiscovery
-
public class MessageSourceServiceDiscovery extends Object
-
-
Constructor Summary
Constructors Constructor Description MessageSourceServiceDiscovery(io.vertx.servicediscovery.ServiceDiscovery serviceDiscovery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> voidgetConsumer(io.vertx.core.json.JsonObject jsonFilter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.eventbus.MessageConsumer<T>>> handler)<T> voidgetConsumer(Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.eventbus.MessageConsumer<T>>> handler)voidpublish(MessageSourceConfiguration configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>> handler)
-
-
-
Method Detail
-
publish
public void publish(MessageSourceConfiguration configuration, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>> handler)
-
getConsumer
public <T> void getConsumer(Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.eventbus.MessageConsumer<T>>> handler)
-
getConsumer
public <T> void getConsumer(io.vertx.core.json.JsonObject jsonFilter, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.eventbus.MessageConsumer<T>>> handler)
-
-