You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Martin Lichtin (Jira)" <ji...@apache.org> on 2020/07/09 20:42:00 UTC

[jira] [Created] (CAMEL-15288) Camel OSGi: Allow for defining the Bean resolution order

Martin Lichtin created CAMEL-15288:
--------------------------------------

             Summary: Camel OSGi: Allow for defining the Bean resolution order
                 Key: CAMEL-15288
                 URL: https://issues.apache.org/jira/browse/CAMEL-15288
             Project: Camel
          Issue Type: Improvement
          Components: camel-osgi
    Affects Versions: 2.24.3
            Reporter: Martin Lichtin


Currently OsgiDefaultCamelContext updates the registry and inserts OsgiServiceRegistry as the _first_ registry into the list.

This can lead to undesirable behaviour, so an option to define the resolution order will be helpful.

For example, it can be more appropriate to lookup local beans first, only go to lookup an OSGi service if no local bean is found. Or it could be desired to not lookup OSGi services at all.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)