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