You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tim (JIRA)" <ji...@apache.org> on 2016/02/23 05:08:18 UTC

[jira] [Updated] (CAMEL-9631) The OsgiServiceRegistry class caches service references

     [ https://issues.apache.org/jira/browse/CAMEL-9631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim updated CAMEL-9631:
-----------------------
    Attachment: camel.patch

Camel patch attached is an integrated test for camel-scr highlighting the issue raised in the Description of the Jira. The test currently fails but should pass when the issue is fixed.

The patch does not provide a solution, however I think the caching should be removed from the org.apache.camel.core.osgi.OsgiServiceRegistry (camel-core-osgi) class. 

> The OsgiServiceRegistry class caches service references
> -------------------------------------------------------
>
>                 Key: CAMEL-9631
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9631
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-osgi, camel-scr
>    Affects Versions: 2.15.4
>            Reporter: Tim
>            Priority: Minor
>         Attachments: camel.patch
>
>
> As discussed in http://camel.465427.n5.nabble.com/OsgiServiceRegistry-caching-service-references-why-td5777410.html the OsgiServiceRegistry class caches service references hence limits the ability to dynamically install and use a new version of the same service



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