You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Benjamin Graf (JIRA)" <ji...@apache.org> on 2018/04/13 09:40:00 UTC

[jira] [Commented] (FELIX-5738) EventAdmin IgnoreTopic config. property doesn't support wildcards

    [ https://issues.apache.org/jira/browse/FELIX-5738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437075#comment-16437075 ] 

Benjamin Graf commented on FELIX-5738:
--------------------------------------

[~cziegeler] that's not correct if using org/osgi/service/log* you internally get SubPackageMatcher with following packageName "org/osgi/service/log." which does not match with e.g. "org/osgi/service/log/LogEntry/LOG_INFO" because of the added dot at the end.

IMHO this is still an open issue.

> EventAdmin IgnoreTopic config. property doesn't support wildcards
> -----------------------------------------------------------------
>
>                 Key: FELIX-5738
>                 URL: https://issues.apache.org/jira/browse/FELIX-5738
>             Project: Felix
>          Issue Type: Bug
>          Components: Event Admin
>            Reporter: Joao Assuncao
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> EventAdminImpl is using package name matchers to implement IgnoreTopic, namely  PackageMatcher and SubPackageMatcher. These won't work when org.apache.felix.eventadmin.IgnoreTopic is set with a wildcard, such as org/osgi/service/log/*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)