camel-issues mailing list archives

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


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:
>             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

View raw message