Details
Description
Currently, registering a bean into the Karaf RMI registry is not easy as we are not in the same classloader.
Especially, it means that the camel-rmi component is not able to work using the Karaf RMI registry (we have to create a registry dedicated in the component classloader).
If we expose the Karaf RMI registry as an OSGi service (using the java.rmi.registry.Registry interface), we would be able to register the bean without the classloader issue.