spring-integration / org.springframework.integration.dsl / KotlinRouterSpec

KotlinRouterSpec

class KotlinRouterSpec<K, R : AbstractMappingMessageRouter> : AbstractKotlinRouterSpec<RouterSpec<K, R>, R>

A RouterSpec wrapped for Kotlin DSL.

Constructors

<init>

A RouterSpec wrapped for Kotlin DSL.

KotlinRouterSpec(delegate: RouterSpec<K, R>)

Properties

delegate

the RouterSpec this instance is delegating to.

val delegate: RouterSpec<K, R>

Functions

channelMapping

fun channelMapping(key: K, channelName: String): Unit
fun channelMapping(key: K, channel: MessageChannel): Unit

dynamicChannelLimit

fun dynamicChannelLimit(dynamicChannelLimit: Int): Unit

noChannelKeyFallback

fun noChannelKeyFallback(): Unit

prefix

fun prefix(prefix: String): Unit

resolutionRequired

fun resolutionRequired(resolutionRequired: Boolean): Unit

subFlowMapping

fun subFlowMapping(key: K, subFlow: KotlinIntegrationFlowDefinition.() -> Unit): Unit

suffix

fun suffix(suffix: String): Unit