camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kishorecj <>
Subject How to maintain a seperate Datastructure to choose processor in my custom load balancer
Date Thu, 18 Oct 2012 05:38:56 GMT
Hi Sir,

          My requirement is ,
    a group of tomcats are mapped to a particular appid and route should
happen based on incoming request  with appid .

          hashmap looks like 
                      app1 -   tomcat2
                       app2 -   tomcat5

so if incoming request comes with appid=app1  then my custom loadbalancer
should route to one of tomcat1-tomcat3.

adding tomcat's will happen at runtime[dynamic adding support]. 
whenever a new tomcat gets added to a particular applicationid then i am
creating a HttpEndpoint processor and adding it in into hashmap.

when i get a request trying to get the processor and calling
but it is retrying 3 times and failing.

Please help me in solving this problem or share some idea where i might be

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message