camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10127) OsgiDefaultCamelContext should call parent constructor with registry
Date Wed, 06 Jul 2016 13:31:11 GMT

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

Claus Ibsen updated CAMEL-10127:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> OsgiDefaultCamelContext should call parent constructor with registry
> --------------------------------------------------------------------
>
>                 Key: CAMEL-10127
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10127
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-osgi
>    Affects Versions: 2.17.1
>            Reporter: Börcsök József
>            Priority: Minor
>             Fix For: 2.18.0
>
>
> OsgiDefaultCamelContext constructor doesn't call super to pass registry so inconsistent
registries are set in DefaultCamelContext and DefaultCamelContext instances.
> If a client create OsgiDefaultCamelContext with custom registry then (private) variable
in DefaultCamelContext is not initialized and a different new instance will be created by
getRegistry method.
> Either scope of registry in DefaultCamelContext should be changed to protected or OsgiDefaultCamelContext
should pass the reference.



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

Mime
View raw message