Author: gnodet Date: Mon Dec 6 13:07:59 2010 New Revision: 1042618 URL: http://svn.apache.org/viewvc?rev=1042618&view=rev Log: [CAMEL-3381] Add an integration test
Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/OSGiBlueprintTestSupport.java Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/OSGiBlueprintTestSupport.java URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/OSGiBlueprintTestSupport.java?rev=1042618&r1=1042617&r2=1042618&view=diff ============================================================================== --- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/OSGiBlueprintTestSupport.java (original) +++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/OSGiBlueprintTestSupport.java Mon Dec 6 13:07:59 2010 @@ -21,6 +21,7 @@ import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; +import org.apache.camel.CamelContext; import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -56,6 +57,7 @@ public class OSGiBlueprintTestSupport ex } getInstalledBundle("CamelBlueprintTestBundle1").start(); getOsgiService(BlueprintContainer.class, "(osgi.blueprint.container.symbolicname=CamelBlueprintTestBundle1)", 5000); + getOsgiService(CamelContext.class, "(camel.context.symbolicname=CamelBlueprintTestBundle1)", 5000); } @Test @@ -74,6 +76,7 @@ public class OSGiBlueprintTestSupport ex } getInstalledBundle("org.apache.camel.camel-mail").start(); getOsgiService(BlueprintContainer.class, "(osgi.blueprint.container.symbolicname=CamelBlueprintTestBundle2)", 5000); + getOsgiService(CamelContext.class, "(camel.context.symbolicname=CamelBlueprintTestBundle2)", 5000); } @Test @@ -92,6 +95,7 @@ public class OSGiBlueprintTestSupport ex } getInstalledBundle("org.apache.camel.camel-jaxb").start(); getOsgiService(BlueprintContainer.class, "(osgi.blueprint.container.symbolicname=CamelBlueprintTestBundle3)", 5000); + getOsgiService(CamelContext.class, "(camel.context.symbolicname=CamelBlueprintTestBundle3)", 5000); } @Before