Example usage for io.vertx.core.eventbus DeliveryOptions getSendTimeout

List of usage examples for io.vertx.core.eventbus DeliveryOptions getSendTimeout

Introduction

In this page you can find the example usage for io.vertx.core.eventbus DeliveryOptions getSendTimeout.

Prototype

public long getSendTimeout() 

Source Link

Document

Get the send timeout.

Usage

From source file:io.engagingspaces.graphql.schema.SchemaDefinitionOptions.java

License:Open Source License

private JsonObject deliveryOptionsToJson(DeliveryOptions options) {
    return JsonObjectHelper.jsonObject().put("sendTimeout", options.getSendTimeout())
            .putIfPresent("codecName", options.getCodecName())
            // TODO Test with MultiMap values
            .putIf("headers", options.getHeaders(), headers -> headers.size() > 0, headers -> headers);
}