You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2017/10/12 10:09:00 UTC
[jira] [Created] (CAMEL-11899) cluster-service : fire event on
listener registration
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)