camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine DESSAIGNE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7916) OsgiServiceRegistry forces name property
Date Fri, 24 Oct 2014 14:41:33 GMT

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

Antoine DESSAIGNE commented on CAMEL-7916:
------------------------------------------

The issue is not with the map but rather whether or not a service should always have the same
name no matter how many times you're calling the method. If the name should always be the
same then the counter approach won't work. (or there's something I didn't saw)

> OsgiServiceRegistry forces name property
> ----------------------------------------
>
>                 Key: CAMEL-7916
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7916
>             Project: Camel
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 2.14.0
>            Reporter: Benjamin Graf
>            Assignee: Willem Jiang
>             Fix For: 2.13.3, 2.14.1, 2.15.0
>
>
> Several components does search the registry by calling findByTypeWithName. This method
needs in OsgiServiceRegistry that every service has a name property which is not forced by
spec and therefor optional. Maybe add a different "name" in those cases.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message