BJ Hargrave  wrote
> Then I think the Equinox impl is wrong. An EventHandler with
> event.topics="a/b/c/*" should not receive an Event with topic="a/b/c".

Thanks BJ.

Carsten

> -- 
> 
> *BJ Hargrave*
> Senior Technical Staff Member, IBM
> OSGi Fellow and CTO of the _OSGi Alliance_ <http://www.osgi.org/>_
> __hargr...@us.ibm.com_ <mailto: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 09:59
> Subject:        Re: [osgi-dev] Question about topic matching for event
> admin
> Sent by:        osgi-dev-boun...@mail.osgi.org
> 
> ------------------------------------------------------------------------
> 
> 
> 
> 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_ <http://www.osgi.org/>_
> __hargr...@us.ibm.com_ <mailto:hargr...@us.ibm.com>   
> 
> office: +1 386 848 1781
> mobile: +1 386 848 3788
> 
> 
> 
> 
> 
> 
> 
> 
> From:        "Alan D. Cabrera" <_...@toolazydogs.com_
> <mailto:a...@toolazydogs.com>>
> To:        OSGi Developer Mail List <_osgi-...@mail.osgi.org_
> <mailto: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_
> <mailto: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_ <http://www.osgi.org/>_
> __hargr...@us.ibm.com_ <mailto:hargr...@us.ibm.com>   
> 
> office: +1 386 848 1781
> mobile: +1 386 848 3788
> 
> 
> 
> 
> 
> 
> 
> 
> 
> From:        Carsten Ziegeler <_cziege...@apache.org_
> <mailto:cziege...@apache.org>>
> To:        OSGi Developer Mail List <_osgi-...@mail.osgi.org_
> <mailto: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_
> <mailto: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_ <mailto:cziege...@apache.org>
> _______________________________________________
> OSGi Developer Mail List_
> __osgi-...@mail.osgi.org_ <mailto:osgi-dev@mail.osgi.org>_
> __https://mail.osgi.org/mailman/listinfo/osgi-dev_
> 
> _______________________________________________
> OSGi Developer Mail List_
> __osgi-...@mail.osgi.org_ <mailto:osgi-dev@mail.osgi.org>_
> __https://mail.osgi.org/mailman/listinfo/osgi-dev_
> _______________________________________________
> OSGi Developer Mail List_
> __osgi-...@mail.osgi.org_ <mailto:osgi-dev@mail.osgi.org>_
> __https://mail.osgi.org/mailman/listinfo/osgi-dev_
> _______________________________________________
> OSGi Developer Mail List_
> __osgi-...@mail.osgi.org_ <mailto: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


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

Reply via email to