Send OSGi events with EventAdmin.sendEvent
------------------------------------------
Key: SLING-2377
URL: https://issues.apache.org/jira/browse/SLING-2377
Project: Sling
Issue Type: Bug
Components: JCR
Affects Versions: JCR Resource 2.0.10
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: JCR Resource 2.1.0
SLING-2365 cause the JCR to OSGi Event bridge to hand over the OSGi events to
the EventAdmin in a separate thread. Yet this thread uses EventAdmin.postEvent
which causes the events to be sent out asynchronously again. This is needless
and may cause additional load to the system.
Rather the events should be distributed using EventAdmin.sendAdmin because the
separate thread is already tasked with such updates only.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira