You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/06 14:28:11 UTC
[jira] [Commented] (CAMEL-9631) The OsgiServiceRegistry class
caches service references
[ https://issues.apache.org/jira/browse/CAMEL-9631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364378#comment-15364378 ]
ASF GitHub Bot commented on CAMEL-9631:
---------------------------------------
GitHub user borcsokj opened a pull request:
https://github.com/apache/camel/pull/1068
CAMEL-9631: do not cache OSGi service instances
Do not cache OSGi services so it is possible to change **"bean:..."** references with an updated bundle (i.e. bind/unbind declarative services).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/borcsokj/camel feature/CAMEL-9631
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1068.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1068
----
commit 5b2ae6b6127845115f1b40e4fa810cb90d7bd2e3
Author: Börcsök József <bo...@sch.bme.hu>
Date: 2016-07-06T14:22:42Z
CAMEL-9631: do not cache OSGi service instances
----
> 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)