On 21.07.2014, at 00:23, Michael Dürig <[email protected]> wrote:

> On 16.7.14 4:12 , Michael Dürig wrote:
>> 
>> - Path exclusion would allow certain paths to be excluded from sending
>> events. This is helpful if you want to listen to say /content but not to
>> /content/foo. Relieving event handlers from handling such exclusions
>> will lower client code complexity and increase performance.
> 
> I created JCR-3797 and OAK-1978 to track this.

I think it would be more useful to allow globbing paths. The current 
getAdditionalPaths() could be changed to allow path globbing.

For example /home/users/**/mail/**/sentitems/**

(Could also be regular expressions)

This when you don't use very detailed node types, but rely more on path 
structures. We have a lot of use cases of that in our product. I have 
previously mentioned that over in [1].

[1] https://issues.apache.org/jira/browse/OAK-1133

Cheers,
Alex

Reply via email to