Hi,

I have following route and i want to apply loadbalance with failover for
pollenrich in route

from("jpa:com.test.VasRequest?consumeDelete=false&consumer.delay=20000&consumer.namedQuery=selectLoanRequests&persistenceUnit=VasServicePU")
                        .choice()
                                
.when(simple("${body.VasRequest.getMessage}=='Y'"))
                                        .loadBalance().failover()
                                
.pollEnrich("jpa:VasRequest?consumer.namedQuery=verifyRequests&persistenceUnit=VasServicePU1")
                                .otherwise()
                                        .to("direct:verifyOffer")
                        .endChoice()
                .to("jpa:com.test.VasResponse?persistenceUnit=VasServicePU")
                .end();

Now if i couldnt get response from pollEnrich, i would like to query on
other jpa endpoint, but pollenrich is showing error if i provide other
endpoint by comma separation.

Regards



--
View this message in context: 
http://camel.465427.n5.nabble.com/LoadBalance-for-pollenrich-tp5757837.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to