Hi All I want to know how we can combine dynamic routing and load balancing.
For dynamic routing am using @RecipientList annotation as follows public class RoutingComponent{ @RecipientList public String[] route(String Body) { String output = "activemq1:topic:topic.outbound"; return new String[] {output}; } } And my RouterBuilder configuration is as follows: from("activemq1:topic:topic.inbound").bean(RoutingComponent.class, "route"); In general it is given that load balancing can be achieved as from("activemq1:topic:topic.inbound").loadBalance().roundRobin("outputqueue1","outputqueue2"); But how can we achieve it using @RecipientList? Any insight on this will be really helpful Thanks and Regards Nivi