In what version(s) of Spring Integration are you seeing this issue?
5.5.11
Describe the bug
The Kdoc for the following two functions appears to have been copy pasted from the filter Kdoc and not changed. See below.
/**
* Inline function for [IntegrationFlowDefinition.filter] providing a `filter<MyTypeIn>()` variant
* with reified generic type.
*/
inline fun <reified P> route(crossinline function: (P) -> Any?) {
route(function) { }
}
/**
* Inline function for [IntegrationFlowDefinition.filter] providing a `filter<MyTypeIn>()` variant
* with reified generic type.
*/
inline fun <reified P, T> route(
crossinline function: (P) -> T,
crossinline configurer: KotlinRouterSpec<T, MethodInvokingRouter>.() -> Unit
) {
this.delegate.route(P::class.java, { function(it) }) { configurer(KotlinRouterSpec(it)) }
}
To Reproduce
N/A - documentation issue
Expected behavior
N/A - documentation issue
Sample
N/A - documentation issue