{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka/issues/13622","labels_url":"https://api.github.com/repos/akka/akka/issues/13622/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/13622/comments","events_url":"https://api.github.com/repos/akka/akka/issues/13622/events","html_url":"https://github.com/akka/akka/issues/13622","id":31405977,"number":13622,"title":"add tests for akka-camel in OSGi","user":{"login":"chpache","id":632055,"avatar_url":"https://avatars.githubusercontent.com/u/632055?v=3","gravatar_id":"","url":"https://api.github.com/users/chpache","html_url":"https://github.com/chpache","followers_url":"https://api.github.com/users/chpache/followers","following_url":"https://api.github.com/users/chpache/following{/other_user}","gists_url":"https://api.github.com/users/chpache/gists{/gist_id}","starred_url":"https://api.github.com/users/chpache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chpache/subscriptions","organizations_url":"https://api.github.com/users/chpache/orgs","repos_url":"https://api.github.com/users/chpache/repos","events_url":"https://api.github.com/users/chpache/events{/privacy}","received_events_url":"https://api.github.com/users/chpache/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akka/akka/labels/1%20-%20triaged","name":"1 - triaged","color":"5319e7"},{"url":"https://api.github.com/repos/akka/akka/labels/community-contrib","name":"community-contrib","color":"009800"},{"url":"https://api.github.com/repos/akka/akka/labels/t:camel","name":"t:camel","color":"ededed"},{"url":"https://api.github.com/repos/akka/akka/labels/t:osgi","name":"t:osgi","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/akka/akka/milestones/55","html_url":"https://github.com/akka/akka/milestones/2.4.x","labels_url":"https://api.github.com/repos/akka/akka/milestones/55/labels","id":1257017,"number":55,"title":"2.4.x","description":"","creator":{"login":"patriknw","id":336161,"avatar_url":"https://avatars.githubusercontent.com/u/336161?v=3","gravatar_id":"","url":"https://api.github.com/users/patriknw","html_url":"https://github.com/patriknw","followers_url":"https://api.github.com/users/patriknw/followers","following_url":"https://api.github.com/users/patriknw/following{/other_user}","gists_url":"https://api.github.com/users/patriknw/gists{/gist_id}","starred_url":"https://api.github.com/users/patriknw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriknw/subscriptions","organizations_url":"https://api.github.com/users/patriknw/orgs","repos_url":"https://api.github.com/users/patriknw/repos","events_url":"https://api.github.com/users/patriknw/events{/privacy}","received_events_url":"https://api.github.com/users/patriknw/received_events","type":"User","site_admin":false},"open_issues":223,"closed_issues":8,"state":"open","created_at":"2015-08-16T17:29:51Z","updated_at":"2016-01-02T20:55:07Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2013-09-19T14:17:42Z","updated_at":"2016-01-02T23:38:38Z","closed_at":null,"body":"imported from https://www.assembla.com/spaces/akka/tickets/3622\r\n\r\nin akka-camel, the Camel component resolver in OSGi should be able to use deployed Camel Components. This would tend to proove a better OSGification of the akka-camel module."},"comment":{"url":"https://api.github.com/repos/akka/akka/issues/comments/168438745","html_url":"https://github.com/akka/akka/issues/13622#issuecomment-168438745","issue_url":"https://api.github.com/repos/akka/akka/issues/13622","id":168438745,"user":{"login":"briantopping","id":158115,"avatar_url":"https://avatars.githubusercontent.com/u/158115?v=3","gravatar_id":"","url":"https://api.github.com/users/briantopping","html_url":"https://github.com/briantopping","followers_url":"https://api.github.com/users/briantopping/followers","following_url":"https://api.github.com/users/briantopping/following{/other_user}","gists_url":"https://api.github.com/users/briantopping/gists{/gist_id}","starred_url":"https://api.github.com/users/briantopping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briantopping/subscriptions","organizations_url":"https://api.github.com/users/briantopping/orgs","repos_url":"https://api.github.com/users/briantopping/repos","events_url":"https://api.github.com/users/briantopping/events{/privacy}","received_events_url":"https://api.github.com/users/briantopping/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T23:38:38Z","updated_at":"2016-01-02T23:38:38Z","body":"@rkuhn Seems like one could use [setApplicationContextClassLoader](https://camel.apache.org/maven/camel-2.15.0/camel-core/apidocs/org/apache/camel/CamelContext.html#setApplicationContextClassLoader(java.lang.ClassLoader)) with `akka.camel.DefaultContextProvider#getContext`, but it would be horribly inefficient. BundleDelegatingClassLoader is O(logN) and I think it's only used for configuration resolution at the present time.\r\n\r\nIf there's still demand for this, I could dig further. OSGi and Camel are well-behaved together outside of Akka, so there should be a reasonable solution to this. "}}