[
https://issues.apache.org/jira/browse/CAMEL-3910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-3910.
--------------------------------
Resolution: Fixed
There is a sticky option now. You can then use that together with round robin.
> Add "Sticky Failover" support in the camel load balancer
> --------------------------------------------------------
>
> Key: CAMEL-3910
> URL: https://issues.apache.org/jira/browse/CAMEL-3910
> Project: Camel
> Issue Type: New Feature
> Components: camel-core, eip
> Reporter: Ashwin Karpe
> Assignee: Claus Ibsen
> Fix For: 2.16.0
>
>
> Essentially, given a list of endpoints (endpoint1, endpoint2), the
> failoverpolicy should initially send all messages to endpoint1. In a failover
> scenario, the route should send messages to endpoint2 instead of endpoint1,
> and continue to do so until endpoint2 fails. If endpoint2 were then to fail,
> messages start being sent to endpoint1 again.
> The current support for sticky load balancing and failover load balancing do
> not address the need for sticky failover.
> Sticky Load Balancing requires the user to set a header and is not meant for
> failover scenarios, whereas failover load balancing is not sticky.
> Please check out the following Nabble link for more details
>
> http://camel.465427.n5.nabble.com/Sticky-failover-load-balancing-td4346193.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)