split

inline fun <P> split(crossinline function: (P) -> Any)

Inline function for IntegrationFlowDefinition.split providing a split<MyTypeIn>() variant with reified generic type.


fun split()

Populate the DefaultMessageSplitter with provided options to the current integration flow position.


fun split(expression: String)
fun split(messageProcessorSpec: MessageProcessorSpec<*>)
fun split(splitterMessageHandlerSpec: MessageHandlerSpec<*, out AbstractMessageSplitter>)


fun split(service: Any, methodName: String? = null)

Populate the MethodInvokingSplitter to evaluate the provided method of the service at runtime.


fun split(beanName: String, methodName: String? = null)

Populate the MethodInvokingSplitter to evaluate the provided method of the bean at runtime.


inline fun <P> split(crossinline function: (P) -> Any, crossinline configurer: KotlinSplitterEndpointSpec<MethodInvokingSplitter>.() -> Unit)

Deprecated

since 6.2

Replace with


				splitWith { 
					function {} 
				}

Inline function for IntegrationFlowDefinition.split providing a split<MyTypeIn>() variant with reified generic type.


fun split(expression: String, endpointConfigurer: KotlinSplitterEndpointSpec<ExpressionEvaluatingSplitter>.() -> Unit = {})

Deprecated

since 6.2

Replace with


				splitWith { 
					expression() 
				}

Populate the ExpressionEvaluatingSplitter with provided SpEL expression.


fun split(service: Any, methodName: String?, splitterConfigurer: KotlinSplitterEndpointSpec<MethodInvokingSplitter>.() -> Unit)

Deprecated

since 6.2

Replace with


				splitWith { 
					ref()
					method()
				}

Populate the MethodInvokingSplitter to evaluate the provided method of the bean at runtime. In addition, accept options for the integration endpoint using KotlinSplitterEndpointSpec.


fun split(beanName: String, methodName: String?, splitterConfigurer: KotlinSplitterEndpointSpec<MethodInvokingSplitter>.() -> Unit)

Deprecated

since 6.2

Replace with


				splitWith { 
					refName()
					method() 
				}

Populate the MethodInvokingSplitter to evaluate the provided method of the bean at runtime. In addition, accept options for the integration endpoint using KotlinSplitterEndpointSpec.


fun split(messageProcessorSpec: MessageProcessorSpec<*>, splitterConfigurer: KotlinSplitterEndpointSpec<MethodInvokingSplitter>.() -> Unit)

Deprecated

since 6.2

Replace with


				splitWith { 
					ref()
				}

Populate the MethodInvokingSplitter to evaluate the MessageProcessor at runtime from provided MessageProcessorSpec. In addition, accept options for the integration endpoint using KotlinSplitterEndpointSpec.


fun <S : AbstractMessageSplitter> split(splitterMessageHandlerSpec: MessageHandlerSpec<*, S>, splitterConfigurer: KotlinSplitterEndpointSpec<S>.() -> Unit)
fun <S : AbstractMessageSplitter> split(splitter: S, splitterConfigurer: KotlinSplitterEndpointSpec<S>.() -> Unit)

Deprecated

since 6.2

Replace with


				splitWith { 
					ref()
				}

Populate the provided AbstractMessageSplitter to the current integration flow position.