public class CamelBlueprint3Test extends OSGiBlueprintTestSupport {
@Test
public void testRouteWithComponentFromBlueprint() throws Exception {
getInstalledBundle("CamelBlueprintTestBundle6").start();
BlueprintContainer ctn = getOsgiService(BlueprintContainer.class, "(osgi.blueprint.container.symbolicname=CamelBlueprintTestBundle6)", 10000);
CamelContext ctx = getOsgiService(CamelContext.class, "(camel.context.symbolicname=CamelBlueprintTestBundle6)", 10000);
assertEquals(1, ctx.getRoutes().size());
assertSame(ctn.getComponentInstance("seda"), ctx.getComponent("seda"));
}