[ https://issues.apache.org/jira/browse/SLING-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Egli resolved SLING-5242. -------------------------------- Resolution: Fixed fixed in http://svn.apache.org/viewvc?rev=1712050&view=rev > VotingHander should only receive events under (configured) /var/discovery/impl > ------------------------------------------------------------------------------ > > Key: SLING-5242 > URL: https://issues.apache.org/jira/browse/SLING-5242 > Project: Sling > Issue Type: Improvement > Components: Extensions > Affects Versions: Discovery Impl 1.1.8 > Reporter: Stefan Egli > Assignee: Stefan Egli > Fix For: Discovery Impl 1.2.0 > > > So far the discovery.impl's VotingHandler was registering itself as > EventHandler for everything, filtering out at start of {{handleEvent}} if the > event was not applicable for it (ie if it was not under /var/discovery/impl). > This is extremely inefficient. The reason for doing it this way was the fact > that the path (/var/discovery/impl) was configurable and could thus not be > set as a annotation property to the VotingHandler class. However, that is > possible via an explicit service registration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)