クラスの使用
org.springframework.integration.router.MethodInvokingRouter
MethodInvokingRouter を使用するパッケージ
org.springframework.integration.dsl 内の MethodInvokingRouter 使用
型 MethodInvokingRouter の型引数を持つ org.springframework.integration.dsl のメソッドパラメーター修飾子と型メソッド説明BaseIntegrationFlowDefinition.doRoute(@Nullable ClassSE<P> expectedType, FunctionSE<P, T> router, @Nullable ConsumerSE<RouterSpec<T, MethodInvokingRouter>> routerConfigurer) BaseIntegrationFlowDefinition.route(ClassSE<P> expectedType, FunctionSE<P, T> router, @Nullable ConsumerSE<RouterSpec<T, MethodInvokingRouter>> routerConfigurer) BaseIntegrationFlowDefinition.route(ObjectSE service, @Nullable StringSE methodName, @Nullable ConsumerSE<RouterSpec<ObjectSE, MethodInvokingRouter>> routerConfigurer) 提供されたサービスのメソッドとそのメソッドのMethodInvokingRouterに、RouterSpecから提供されたオプションを入力します。BaseIntegrationFlowDefinition.route(StringSE beanName, @Nullable StringSE method, @Nullable ConsumerSE<RouterSpec<ObjectSE, MethodInvokingRouter>> routerConfigurer) 提供された Bean のMethodInvokingRouterと、そのメソッドにRouterSpecの提供されたオプションを入力します。BaseIntegrationFlowDefinition.route(MessageProcessorSpec<?> messageProcessorSpec, @Nullable ConsumerSE<RouterSpec<ObjectSE, MethodInvokingRouter>> routerConfigurer) IntegrationFlowDefinition.route(FunctionSE<S, T> router, ConsumerSE<RouterSpec<T, MethodInvokingRouter>> routerConfigurer)