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

headerFilter

fun headerFilter(headersToRemove: String, patternMatch: Boolean = true): Unit

Provide the HeaderFilter to the current IntegrationFlow.

fun headerFilter(headerFilter: HeaderFilter, endpointConfigurer: GenericEndpointSpec<MessageTransformingHandler>.() -> Unit): Unit

Populate the provided MessageTransformingHandler for the provided HeaderFilter.