You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/10/03 11:03:42 UTC
[jira] [Updated] (KARAF-2478) Producer status is ignored when
config is updated on cluster
[ https://issues.apache.org/jira/browse/KARAF-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-2478:
----------------------------------------
Fix Version/s: cellar-2.3.2
cellar-3.0.0
> Producer status is ignored when config is updated on cluster
> ------------------------------------------------------------
>
> Key: KARAF-2478
> URL: https://issues.apache.org/jira/browse/KARAF-2478
> Project: Karaf
> Issue Type: Bug
> Components: cellar-hazelcast
> Affects Versions: cellar-3.0.0
> Reporter: Pablo Muñiz
> Assignee: Jean-Baptiste Onofré
> Fix For: cellar-3.0.0, cellar-2.3.2
>
> Attachments: KARAF-2478-cellar-3.0.0.patch
>
>
> Even though producer status is OFF, when a configuration property is changed an event is sent to notify all nodes in cluster.
> Basically this comes from _EventProducer_ generation on hazelcast module.
> When an EventProducer is requested to _org.apache.karaf.cellar.hazelcast.HazelcastEventTransportFactory_ it is instantiated without looking at configuration, so whenever _getSwitch()_ method is called on _EventProducer_ a _BasicSwitch_ instance is returned with ON status.
> Injecting _configurationAdmin_ on EventProducer created by _org.apache.karaf.cellar.hazelcast.HazelcastEventTransportFactory_ will solve the issue.
> _getSwitch()_ method would return current producer status.
--
This message was sent by Atlassian JIRA
(v6.1#6144)