Hi thanks for the reply but i think i need an sticky load balancer - so how can i define this one in xml to listen to the sessionid ??
http://activemq.apache.org/camel/maven/camel-core/apidocs/org/apache/camel/processor/loadbalancer/StickyLoadBalancer.html greetings max buchnerm wrote: > > Hi I am trying to implement a small load balancer based on the session id > > so if sessionid % 3 = 0 --> send it to seda0 > if sessionid % 3 = 1 --> send it to seda1 > if sessionid % 3 = 2 --> send it to seda2 > > is that possible? > > how to cnfigure this in spring xml?? > > something like this but??? > ********* > <route> > <from > uri="jetty:http://localhost:9090/GreeterContext/GreeterPort"/> > <loadBalance ref="roundRobinRef"> > <to uri="direct:EndpointA"/> > <to uri="direct:EndpointB"/> > </loadBalance> > </route> > ********* > > > -- View this message in context: http://www.nabble.com/How-to-route-a-message-based-on-a-criteria---tp18506590s22882p18506985.html Sent from the Camel - Users mailing list archive at Nabble.com.
