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 17:05:00 UTC

[jira] [Resolved] (CAMEL-11899) cluster-service : fire event on listener registration

     [ https://issues.apache.org/jira/browse/CAMEL-11899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Burgazzoli resolved CAMEL-11899.
-------------------------------------
    Resolution: Fixed

> 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
>              Labels: clustering
>             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)