You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/04/30 14:24:38 UTC

[jira] Resolved: (CAMEL-1571) Using the Camel features in Camel OSGi integration test

     [ https://issues.apache.org/activemq/browse/CAMEL-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-1571.
---------------------------------

    Resolution: Fixed

trunk
http://svn.apache.org/viewvc?rev=769393&view=rev

> 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.