[ https://issues.apache.org/jira/browse/CAMEL-10347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15532045#comment-15532045 ]
ASF GitHub Bot commented on CAMEL-10347: ---------------------------------------- Github user yuruki closed the pull request at: https://github.com/apache/camel/pull/1188 > Camel-scr todos and polish > -------------------------- > > Key: CAMEL-10347 > URL: https://issues.apache.org/jira/browse/CAMEL-10347 > Project: Camel > Issue Type: Improvement > Components: camel-scr > Reporter: Jyrki Ruuskanen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.18.0 > > > Visibility / access: > * Make context private. Use getter. > * Get rid of registry member variable. Get registry through context when > needed. > * Make methods that are not supposed to be overriden final. > Customization: > * User can customize context's registry by overriding createRegistry() > methods. Returns SimpleRegistry by default. > * Remove hardcoded defaults from setupCamelContext(). > Corrections: > * Do not explicitly create an OsgiServiceRegistry for > OsgiDefaultCamelContext. The context will create one anyway and combine it > with whatever createRegistry(BundleContext) returns in a CompositeRegistry. > * Make camel-archetype-scr integration test run with Maven 3.3.9. -- This message was sent by Atlassian JIRA (v6.3.4#6332)