Luca Burgazzoli created CAMEL-11899:
---------------------------------------
Summary: cluster-service : fire event on listener registration
Key: CAMEL-11899
URL: https://issues.apache.org/jira/browse/CAMEL-11899
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Luca Burgazzoli
Assignee: Luca Burgazzoli
Priority: Minor
Fix For: 2.21.0
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:
{code}
clusterView.addListener(...).
if (clusterView.getLocalMember().isLeader()) {
doSomething();
}
{code}
Which is boring,
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)