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

KotlinFilterEndpointSpec

class KotlinFilterEndpointSpec : ConsumerEndpointSpec<FilterEndpointSpec, MessageFilter>

An FilterEndpointSpec wrapped for Kotlin DSL.

Constructors

<init>

An FilterEndpointSpec wrapped for Kotlin DSL.

KotlinFilterEndpointSpec(delegate: FilterEndpointSpec)

Properties

delegate

the FilterEndpointSpec this instance is delegating to.

val delegate: FilterEndpointSpec

Functions

discardChannel

fun discardChannel(discardChannel: MessageChannel): Unit
fun discardChannel(discardChannelName: String): Unit

discardFlow

fun discardFlow(subFlow: KotlinIntegrationFlowDefinition.() -> Unit): Unit

discardWithinAdvice

fun discardWithinAdvice(discardWithinAdvice: Boolean): Unit

throwExceptionOnRejection

fun throwExceptionOnRejection(throwExceptionOnRejection: Boolean): Unit