You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/05/18 09:49:04 UTC
[jira] [Closed] (SLING-2377) Send OSGi events with
EventAdmin.sendEvent
[ https://issues.apache.org/jira/browse/SLING-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-2377.
-----------------------------------
> 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