[ 
https://issues.apache.org/jira/browse/CAMEL-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881085#comment-15881085
 ] 

A. Soroka commented on CAMEL-6132:
----------------------------------

[~davsclaus], success! Thanks for the pointer! I overrode:
{noformat}
    @Override
    protected CamelContext createCamelContext() {
        return new OsgiDefaultCamelContext(bundleContext);
    }
{noformat}
and added {{camel-core-osgi}}
{noformat}
MavenArtifactProvisionOption camelOsgi = 
mavenBundle().groupId("org.apache.camel").artifactId("camel-core-osgi")
                        .version("2.18.2").start();
{noformat}
to the mix. I think that bundle should be part of the "default" results of 
{{org.apache.camel.test.karaf.AbstractFeatureTest.configure(String...)}}. I 
will send a PR with these changes, for your consideration. Now on to writing 
some tests-- I'm sure I will have more questions but I will take them to the 
lists.

Thanks!

> camel-test-karaf - To allow end users more easily do Camel and Karaf 
> integration test
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6132
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6132
>             Project: Camel
>          Issue Type: New Feature
>          Components: karaf
>            Reporter: Claus Ibsen
>            Assignee: Quinn Stevenson
>             Fix For: 2.19.0
>
>
> We should introduce a proper camel-test-karaf component that *end users* can 
> use to do Camel and Karaf integration tests.
> The code we have in tests/camel-itest-karaf is for internal usage and testing 
> of Camel. The code is not polished and intended for end users.
> We should create a new module for that, and take the good parts of 
> camel-itest-karaf and make it user friendly etc. And of course have docs to 
> go with as well.
> And when its good, we can use that in camel-itest-karaf also (eat our own dog 
> food)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to