
io.vertx.kotlin.ext.stomp.BridgeOptions.kt Maven / Gradle / Ivy
package io.vertx.kotlin.ext.stomp
import io.vertx.ext.stomp.BridgeOptions
import io.vertx.ext.bridge.PermittedOptions
/**
* A function providing a DSL for building [io.vertx.ext.stomp.BridgeOptions] objects.
*
* Specify the event bus bridge options.
*
* @param inboundPermitteds
* @param outboundPermitteds
* @param pointToPoint
*
*
* NOTE: This function has been automatically generated from the [io.vertx.ext.stomp.BridgeOptions original] using Vert.x codegen.
*/
fun BridgeOptions(
inboundPermitteds: Iterable? = null,
outboundPermitteds: Iterable? = null,
pointToPoint: Boolean? = null): BridgeOptions = io.vertx.ext.stomp.BridgeOptions().apply {
if (inboundPermitteds != null) {
this.setInboundPermitteds(inboundPermitteds.toList())
}
if (outboundPermitteds != null) {
this.setOutboundPermitteds(outboundPermitteds.toList())
}
if (pointToPoint != null) {
this.setPointToPoint(pointToPoint)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy