Class AbstractRouterSpec<S extends AbstractRouterSpec<S,R>,R extends AbstractMessageRouter>  
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,reactor.util.function.Tuple2<F,H>>
  
org.springframework.integration.dsl.EndpointSpec<S,ConsumerEndpointFactoryBean,H>
  
org.springframework.integration.dsl.ConsumerEndpointSpec<S,R>
 
org.springframework.integration.dsl.AbstractRouterSpec<S,R> 
- Type Parameters:
- S- the target- AbstractRouterSpecimplementation type.
- R- the- AbstractMessageRouterimplementation type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,,- R>> - InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
- Direct Known Subclasses:
- RecipientListRouterSpec,- RouterSpec
public class AbstractRouterSpec<S extends AbstractRouterSpec<S,R>,R extends AbstractMessageRouter>  
extends ConsumerEndpointSpec<S,R> 
- Since:
- 5.0
- Author:
- Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.ConsumerEndpointSpecadviceChainFields inherited from class org.springframework.integration.dsl.EndpointSpeccomponentsToRegister, endpointFactoryBean, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapplySequence(boolean applySequence) defaultOutputChannel(String channelName) Specify aMessageChannelbean name as a default output from the router.defaultOutputChannel(MessageChannel channel) Specify aMessageChannelas a default output from the router.Make a default output mapping of the router to the parent flow.defaultSubFlowMapping(IntegrationFlow subFlow) Specify anIntegrationFlowas an output from the router when no any other mapping has matched.ignoreSendFailures(boolean ignoreSendFailures) protected booleanMethods inherited from class org.springframework.integration.dsl.ConsumerEndpointSpecadvice, async, autoStartup, customizeMonoReply, doGet, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, reactive, reactive, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactionalMethods inherited from class org.springframework.integration.dsl.EndpointSpecassertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
AbstractRouterSpec
 
- 
- 
Method Details- 
ignoreSendFailures- Parameters:
- ignoreSendFailures- the ignoreSendFailures.
- Returns:
- the router spec.
- See Also:
 
- 
applySequence- Parameters:
- applySequence- the applySequence.
- Returns:
- the router spec.
- See Also:
 
- 
defaultOutputChannelSpecify aMessageChannelbean name as a default output from the router.- Parameters:
- channelName- the- MessageChannelbean name.
- Returns:
- the router spec.
- See Also:
 
- 
defaultOutputChannelSpecify aMessageChannelas a default output from the router.- Parameters:
- channel- the- MessageChannelto use.
- Returns:
- the router spec.
- See Also:
 
- 
defaultSubFlowMappingSpecify anIntegrationFlowas an output from the router when no any other mapping has matched.- Parameters:
- subFlow- the- IntegrationFlowfor default mapping.
- Returns:
- the router spec.
 
- 
defaultOutputToParentFlowMake a default output mapping of the router to the parent flow. Use the next, after router, parent flowMessageChannelas aAbstractMessageRouter.setDefaultOutputChannel(MessageChannel)of this router.- Returns:
- the router spec.
 
- 
isDefaultToParentFlowprotected boolean isDefaultToParentFlow()
 
-