Re: Camel failover loadbalancer empty processor list

2016-05-11 Thread mnl
ping? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-failover-loadbalancer-empty-processor-list-tp5782152p5782395.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel failover loadbalancer empty processor list

2016-05-05 Thread mnl
I am using camel version 2.17 . The endpoints used in load balancer are corresponding to external party which has provided some set of urls (host and port) to connect to send message. So, here for trial, instead of set I just have one endpoint for now. So when connection to this one endpoint fails

Camel failover loadbalancer empty processor list

2016-05-04 Thread mnl
Hi, I configured a route, say A. A consumes from one endpoint (say E1) and uses failover loadBalancer to deliver to set of endpoints (say EList). On starting the camel context it is unable to connect to one of the endpoints (due to some endpoint issue) in EList. So the camelContext fails to

Using apache camel failover loadbalancer

2016-03-02 Thread mnl
I am new to camel and trying to use failover loadbalancer. I have list of endpoints (say, A, B, C) which can be used to send message such that if one fails the endpoint next in the list can be tried. lets say B was success. After successful send, B will receive an exchange which can be used to

Re: Switch to route in case original route fails

2016-02-26 Thread mnl
Thanks !! Can someone please point me to the implementation of failover load balancer. All I could see is this https://github.com/apache/camel/blob/cc9924f41965885af25027fc053adaf21f15b5b4/camel-core/src/main/java/org/apache/camel/processor/loadbalancer/FailOverLoadBalancer.java but it no where

Re: Switch to route in case original route fails

2016-02-24 Thread mnl
One more thing: Let's say I have C endpoint which will send to B and might failover to A in case of exception on B. Now I want to know whether it was A or B which successfully completed the request. How can I know that? This is required to process the message which A or B might send back to C.

Re: Switch to route in case original route fails

2016-02-23 Thread mnl
I checked the load balancer documentation for apache. It looks pretty good for my use case. However I have few queries for which I couldn't find answers in the documentation: 1. In my understanding, for apache to failover and use other routes, all the routes should be active. Am I correct? or is

Re: Switch to route in case original route fails

2016-02-10 Thread mnl
Hi Sashika, Thanks for the reference. It was helpful. -- View this message in context: http://camel.465427.n5.nabble.com/Switch-to-route-in-case-original-route-fails-tp5777511p5777521.html Sent from the Camel - Users mailing list archive at Nabble.com.

Switch to route in case original route fails

2016-02-09 Thread mnl
I have 2 routes of which one acts as the main route and other one is required in case original fails. Now, there are 2 kinds of requirements: 1. If original (say route1) fails, I switch to other route (say route2) and start sending exchange using route2. But in background I check if route1 can be