Uses of Class
org.springframework.integration.dsl.RouterSpec
Packages that use RouterSpec
Package
Description
Root package of the Spring Integration Java DSL.
-
Uses of RouterSpec in org.springframework.integration.dsl
Subclasses with type arguments of type RouterSpec in org.springframework.integration.dslModifier and TypeClassDescriptionclassRouterSpec<K, R extends AbstractMappingMessageRouter>TheAbstractRouterSpecfor anAbstractMappingMessageRouter.Methods in org.springframework.integration.dsl that return RouterSpecModifier and TypeMethodDescriptionRouterSpec<K, R> RouterSpec.channelKeyFallback(boolean channelKeyFallback) When true (default), if a resolved channel key does not exist in the channel map, the key itself is used as the channel name, which we will attempt to resolve to a channel.RouterSpec<K, R> RouterSpec.channelMapping(K key, String channelName) RouterSpec<K, R> RouterSpec.channelMapping(K key, MessageChannel channel) The router mapping configuration based on the provided generic key andMessageChannelbean.RouterSpec<K, R> RouterSpec.defaultOutputToParentFlow()Make a default output mapping of the router to the parent flow.RouterSpec<K, R> RouterSpec.dynamicChannelLimit(int dynamicChannelLimit) Set a limit for how many dynamic channels are retained (for reporting purposes).RouterSpec<K, R> Cannot be invoked ifsubFlowMapping(Object, IntegrationFlow)is used.RouterSpec<K, R> RouterSpec.resolutionRequired(boolean resolutionRequired) RouterSpec<K, R> RouterSpec.sendTimeout(long sendTimeout) RouterSpec<K, R> RouterSpec.subFlowMapping(K key, IntegrationFlow subFlow) Add a subflow as an alternative to achannelMapping(Object, String).RouterSpec<K, R> Cannot be invoked ifsubFlowMapping(Object, IntegrationFlow)is used.Method parameters in org.springframework.integration.dsl with type arguments of type RouterSpecModifier and TypeMethodDescription<P,T> B BaseIntegrationFlowDefinition.route(Class<P> expectedType, Function<P, T> router, Consumer<RouterSpec<T, MethodInvokingRouter>> routerConfigurer) Populate theMethodInvokingRouterfor providedFunctionand payload type and options fromRouterSpec.BaseIntegrationFlowDefinition.route(Object service, String methodName, Consumer<RouterSpec<Object, MethodInvokingRouter>> routerConfigurer) Populate theMethodInvokingRouterfor the method of the provided service and its method with provided options fromRouterSpec.BaseIntegrationFlowDefinition.route(String beanName, String method, Consumer<RouterSpec<Object, MethodInvokingRouter>> routerConfigurer) Populate theMethodInvokingRouterfor provided bean and its method with provided options fromRouterSpec.<T> BBaseIntegrationFlowDefinition.route(String expression, Consumer<RouterSpec<T, ExpressionEvaluatingRouter>> routerConfigurer) Populate theExpressionEvaluatingRouterfor provided SpEL expression with provided options fromRouterSpec.BaseIntegrationFlowDefinition.route(MessageProcessorSpec<?> messageProcessorSpec, Consumer<RouterSpec<Object, MethodInvokingRouter>> routerConfigurer) Populate theMethodInvokingRouterfor theMessageProcessorfrom the providedMessageProcessorSpecwith default options.<S,T> B IntegrationFlowDefinition.route(Function<S, T> router, Consumer<RouterSpec<T, MethodInvokingRouter>> routerConfigurer) BaseIntegrationFlowDefinition.routeByException(Consumer<RouterSpec<Class<? extends Throwable>, ErrorMessageExceptionTypeRouter>> routerConfigurer) Populate theErrorMessageExceptionTypeRouterwith options from theRouterSpec.