Spring Integration 4 - configuring a LoadBalancingStrategy in Java DSL
问题 I have a simple Spring Integration 4 Java DSL flow which uses a DirectChannel 's LoadBalancingStrategy to round-robin Message requests to a number of possible REST Services (i.e. calls a REST service from one of two possible service endpoint URIs). How my flow is currently configured: @Bean(name = "test.load.balancing.ch") public DirectChannel testLoadBalancingCh() { LoadBalancingStrategy loadBalancingStrategy = new RoundRobinLoadBalancingStrategy(); DirectChannel directChannel = new