GitHub user blocha opened a pull request: https://github.com/apache/camel/pull/2062
Add prerequisite wrap to camel-leveldb After migrating from ServiceMix 6 to 7.0.1 (which is using camel 2.16.5), when trying to update my integration tests I had some problems with loading camel-leveldb using pax exam. When used: ``` features(maven().groupId("org.apache.camel.karaf").artifactId("apache-camel").type("xml").classifier("features").version("2.16.5"), "camel-blueprint", "camel-test", [...] "camel-leveldb ), ``` It simply couldn't load package `camel-leveldb`, because `WRAP` wasn't installed and running. Pax exam simply tried to load and install `camel-leveldb `before `WRAP.` This resulted in error: `Caused by: java.net.MalformedURLException: Unknown protocol: wrap ` The solution to that is to create my own project with features.xml file, copy the camel-leveldb configuration from Camel's one and add: `<feature prerequisite="true">wrap</feature>` So why not add this line to the Camel itself? It should resolve problems in integration tests using pax exam. What do you think? You can merge this pull request into a Git repository by running: $ git pull https://github.com/blocha/camel camel-leveldb-wrap Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2062.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 #2062 ---- commit 4a5cff69cd623c8099c1c1763093ec5a0e39215d Author: Tomasz ZabÅocki <strea...@gmail.com> Date: 2017-10-26T13:30:21Z Add prerequisite wrap to camel-leveldb ---- ---