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 u
The easiest way is to set it in a header like .setHeader(“NODE”,constant(“A”) )
when processing in each A or B. Get the header value when you want to find out
which node processed the message.
On Wed, Feb 24, 2016 at 1:30 PM, mnl < mnlgoya...@gmail.com > wrote:
One more thing:
Let's say I have
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.
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 i
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.
This might help you Apache Camel: Load Balancer This option can be used whether
or not roundRobin is enabled or not.Camel 2.3:
Whether or not the failover load balancer should operate in round…
camel.apache.org
On Wed, Feb 10, 2016 at 9:57 AM, mnl < mnlgoya...@gmail.com > wrote:
I have 2 routes