spring-integration / org.springframework.integration.dsl / KotlinIntegrationFlowDefinition / wireTap

wireTap

fun wireTap(flow: KotlinIntegrationFlowDefinition.() -> Unit): Unit
fun wireTap(wireTapConfigurer: WireTapSpec.() -> Unit, flow: KotlinIntegrationFlowDefinition.() -> Unit): Unit
fun wireTap(wireTapChannel: String, wireTapConfigurer: WireTapSpec.() -> Unit = {}): Unit
fun wireTap(wireTapChannel: MessageChannel, wireTapConfigurer: WireTapSpec.() -> Unit = {}): Unit
fun wireTap(wireTapSpec: WireTapSpec): Unit

Populate the Wire Tap EI Pattern specific org.springframework.messaging.support.ChannelInterceptor implementation to the current channel. This method can be used after any channel() for explicit MessageChannel, but with the caution do not impact existing org.springframework.messaging.support.ChannelInterceptors.