List of usage examples for io.vertx.core.eventbus MessageProducer drainHandler
@Override MessageProducer<T> drainHandler(Handler<Void> handler);
From source file:examples.VertxAmqpBridgeExamples.java
License:Apache License
public void example6(MessageProducer<JsonObject> producer) { producer.drainHandler(v -> { // ...do stuff and send... }); }