Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.21.0
-
Component/s: camel-core
-
Labels:
-
Estimated Complexity:Unknown
Description
As today listeners registered to a cluster view may not be invoked if the view is elected as leader before the registration so the patter is:
clusterView.addListener(...).
if (clusterView.getLocalMember().isLeader()) {
doSomething();
}
Which is boring,