Using the Camel features in Camel OSGi integration test
-------------------------------------------------------
Key: CAMEL-1571
URL: https://issues.apache.org/activemq/browse/CAMEL-1571
Project: Apache Camel
Issue Type: Improvement
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 2.0-M2
By leverage the new feature of PAXEXAM-54[1] and CAMEL-1526, we could make the
Camel OSGi integration test much easier.
We just need to add the scanFeatures option in the configure method of
integration test like this, and don't need to fight with dependency of pom any
more.
{code}
@Configuration
public static Option[] configure() {
Option[] options = options(
...
// using the features to install the camel components
scanFeatures(mavenBundle().groupId("org.apache.camel.karaf").
artifactId("features").versionAsInProject().type("xml/features"),
"camel-core"),
...
);
{code}
[1]http://issues.ops4j.org/browse/PAXEXAM-54
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.