KotlinSplitterSpec
A SplitterSpec wrapped for Kotlin DSL.
Author
Artem Bilan
Since
6.2
Properties
the ConsumerEndpointSpec this instance is delegating to.
Functions
Set the applySequence flag to the specified value. Defaults to true
.
Set delimiters to tokenize String values. The default is null
indicating that no tokenizing should occur. If delimiters are provided, they will be applied to any String payload. Only applied if provided splitter
is instance of DefaultMessageSplitter.
Specify a channel bean name where rejected Messages should be sent. If the discard channel is null (the default), rejected Messages will be dropped. A "Rejected Message" means that split function has returned an empty result (but not null): no items to iterate for sending.
Specify a channel where rejected Messages should be sent. If the discard channel is null (the default), rejected Messages will be dropped. A "Rejected Message" means that split function has returned an empty result (but not null): no items to iterate for sending.
Configure a subflow to run for discarded messages instead of a discardChannel.
Provide an expression to use an ExpressionEvaluatingSplitter for the target handler.
Provide a service to use a MethodInvokingSplitter for the target handler. This option can be set to an AbstractMessageSplitter implementation, a MessageHandlerSpec providing an AbstractMessageSplitter, or MessageProcessorSpec.
Provide a bean name to use a MethodInvokingSplitter (based on BeanNameMessageProcessor) for the target handler.