S
- the target SplitterEndpointSpec
implementation type.public class SplitterEndpointSpec<S extends AbstractMessageSplitter> extends ConsumerEndpointSpec<SplitterEndpointSpec<S>,S>
ConsumerEndpointSpec
for a AbstractMessageSplitter
implementations.adviceChain
componentsToRegister, endpointFactoryBean, handler
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
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(String delimiters)
Set delimiters to tokenize String values.
|
SplitterEndpointSpec<S> |
discardChannel(MessageChannel discardChannel)
Specify a channel where rejected Messages should be sent.
|
SplitterEndpointSpec<S> |
discardChannel(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, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactional
assertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected SplitterEndpointSpec(S splitter)
public SplitterEndpointSpec<S> applySequence(boolean applySequence)
true
.applySequence
- the applySequence.AbstractMessageSplitter.setApplySequence(boolean)
public SplitterEndpointSpec<S> delimiters(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(MessageChannel discardChannel)
discardChannel
- The discard channel.DefaultMessageSplitter.setDelimiters(String)
public SplitterEndpointSpec<S> discardChannel(String discardChannelName)
discardChannelName
- The discard channel bean name.DefaultMessageSplitter.setDelimiters(String)
public SplitterEndpointSpec<S> discardFlow(IntegrationFlow discardFlow)
discardChannel(MessageChannel)
.discardFlow
- the discard flow.