Hi, On Tue, Oct 22, 2013 at 9:41 AM, Felix Meschberger <fmesc...@adobe.com> wrote: > The JcrResourceListener just gets JCR Observation events, creates the OSGi > Event objects > and hands them over for distribution by the OSGi EventAdmin service. The > latter service is > then responsible for dispatching taking the EventHandler service registration > properties into > account for filtering.
Right, but the problem here is that this design can't scale out to millions of events per second, as it requires each individual OSGi Event to be instantiated before filtering. The proposed service interface doesn't need to do that, so it can achieve a much higher throughput, and since no event queue is needed, there's no need to worry about the queue filling up. BR, Jukka Zitting