S - the target SplitterEndpointSpec implementation type.public class SplitterEndpointSpec<S extends AbstractMessageSplitter> extends ConsumerEndpointSpec<SplitterEndpointSpec<S>,S>
ConsumerEndpointSpec for a AbstractMessageSplitter implementations.adviceChaincomponentsToRegister, endpointFactoryBean, handlerPARSER, target| Modifier | Constructor and Description |
|---|---|
protected |
SplitterEndpointSpec(S splitter) |
| Modifier and Type | Method and Description |
|---|---|
SplitterEndpointSpec<S> |
applySequence(boolean applySequence)
Set the applySequence flag to the specified value.
|
SplitterEndpointSpec<S> |
delimiters(java.lang.String delimiters)
Set delimiters to tokenize String values.
|
SplitterEndpointSpec<S> |
discardChannel(org.springframework.messaging.MessageChannel discardChannel)
Specify a channel where rejected Messages should be sent.
|
SplitterEndpointSpec<S> |
discardChannel(java.lang.String discardChannelName)
Specify a channel bean name where rejected Messages should be sent.
|
SplitterEndpointSpec<S> |
discardFlow(IntegrationFlow discardFlow)
Configure a subflow to run for discarded messages instead of a
discardChannel(MessageChannel). |
advice, async, autoStartup, customizeMonoReply, doGet, notPropagatedHeaders, order, phase, poller, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactionalassertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopprotected SplitterEndpointSpec(S splitter)
public SplitterEndpointSpec<S> applySequence(boolean applySequence)
true.applySequence - the applySequence.AbstractMessageSplitter.setApplySequence(boolean)public SplitterEndpointSpec<S> delimiters(java.lang.String delimiters)
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.delimiters - The delimiters.DefaultMessageSplitter.setDelimiters(String)public SplitterEndpointSpec<S> discardChannel(org.springframework.messaging.MessageChannel discardChannel)
discardChannel - The discard channel.DefaultMessageSplitter.setDelimiters(String)public SplitterEndpointSpec<S> discardChannel(java.lang.String discardChannelName)
discardChannelName - The discard channel bean name.DefaultMessageSplitter.setDelimiters(String)public SplitterEndpointSpec<S> discardFlow(IntegrationFlow discardFlow)
discardChannel(MessageChannel).discardFlow - the discard flow.