Sorry, let me be a little more careful with what I am saying.

In Equinox, event.topics a/b/c/* matches a/b/c. 


Regards, 
Alan

On Sep 8, 2010, at 6:44 AM, Alan D. Cabrera wrote:

> I am speaking of event.topics.
> 
> 
> Regards,
> Alan
> 
> On Sep 8, 2010, at 5:14 AM, BJ Hargrave wrote:
> 
>> I thought we were talking about the event.topics service property for the 
>> EventHandler. 
>> 
>> You seem to be discussing the event.filter service property which will do 
>> normal filter substring matching and yes, a/b/c* will match a/b/c. 
>> --
>> BJ Hargrave
>> Senior Technical Staff Member, IBM
>> OSGi Fellow and CTO of the OSGi Alliance
>> hargr...@us.ibm.com  
>> 
>> office: +1 386 848 1781
>> mobile: +1 386 848 3788
>> 
>> 
>> 
>> 
>> 
>> 
>> From:        "Alan D. Cabrera" <a...@toolazydogs.com> 
>> To:        OSGi Developer Mail List <osgi-dev@mail.osgi.org> 
>> Date:        2010/09/08 00:40 
>> Subject:        Re: [osgi-dev] Question about topic matching for event admin 
>> Sent by:        osgi-dev-boun...@mail.osgi.org 
>> 
>> 
>> 
>> In Equinox, a/b/c* matches a/b/c. 
>> 
>> 
>> Regards, 
>> Alan 
>> 
>> On Sep 7, 2010, at 8:38 PM, BJ Hargrave wrote: 
>> 
>> xxx/* will never match xxx. 
>> 
>> They should use a filter of ["a/b/c","a/b/c/*"] to get them both. 
>> --
>> BJ Hargrave
>> Senior Technical Staff Member, IBM
>> OSGi Fellow and CTO of the OSGi Alliance
>> hargr...@us.ibm.com  
>> 
>> office: +1 386 848 1781
>> mobile: +1 386 848 3788
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> From:        Carsten Ziegeler <cziege...@apache.org> 
>> To:        OSGi Developer Mail List <osgi-dev@mail.osgi.org> 
>> Date:        2010/09/07 15:02 
>> Subject:        [osgi-dev] Question about topic matching for event admin 
>> Sent by:        osgi-dev-boun...@mail.osgi.org
>> 
>> 
>> 
>> 
>> 
>> Hi,
>> 
>> over in the Apache Felix project we got a bug report which states that a
>> topic filter of /a/b/c/* should match topic /a/b/c - I understand the
>> event admin spec different :) I thought that the above filter only
>> matches topics that start with /a/b/c/, so it matches /a/b/c/d etc.
>> 
>> So who is right  ? :)
>> 
>> Thanks
>> Carsten
>> -- 
>> Carsten Ziegeler
>> cziege...@apache.org
>> _______________________________________________
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>> 
>> _______________________________________________
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev 
>> _______________________________________________
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev 
>> _______________________________________________
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to