You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by yuruki <gi...@git.apache.org> on 2016/01/30 18:07:39 UTC

[GitHub] camel pull request: CAMEL-9498: Universal local registry for Camel...

GitHub user yuruki opened a pull request:

    https://github.com/apache/camel/pull/822

    CAMEL-9498: Universal local registry for CamelContext

    This change adds an always available local SimpleRegistry to CamelContext. Local registry makes sure that you can always add beans to a CamelContext regardless of how and where you setup and run your CamelContext.
    
    Notes:
    1. CompositeRegistry can now handle nested registries.
    2. Local registry is directly accessible with CamelContext.getLocalRegistry().
    3. DefaultCamelContext.getRegistry() now returns a CompositeRegistry with local SimpleRegistry as its first member. As before, one should not make assumptions on the registry hierarchy getRegistry() will give you. If you want to access a particular subregistry use getRegistry(Class<T> type).
    
    https://issues.apache.org/jira/browse/CAMEL-9498

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yuruki/camel camel-localregistry

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/822.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 #822
    
----
commit e3ce8832f019542e3a7bbc68df0a65b851c2023a
Author: Jyrki Ruuskanen <yu...@kotikone.fi>
Date:   2016-01-28T21:34:44Z

    CAMEL-9498: Universal local registry for CamelContext

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request #822: CAMEL-9498: Universal local registry for CamelConte...

Posted by yuruki <gi...@git.apache.org>.
Github user yuruki closed the pull request at:

    https://github.com/apache/camel/pull/822


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---