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)

Reply via email to