@RunWith(JUnit4TestRunner.class)
public class JpaBlueprintRouteTest extends OSGiBlueprintTestSupport {
@Test
public void testBlueprintRouteJpa() throws Exception {
getInstalledBundle("CamelBlueprintJpaTestBundle").start();
<BUG>BlueprintContainer ctn = getOsgiService(BlueprintContainer.class, "(osgi.blueprint.container.symbolicname=CamelBlueprintJpaTestBundle)", 20000);
</BUG>
CamelContext ctx = getOsgiService(CamelContext.class, "(camel.context.symbolicname=CamelBlueprintJpaTestBundle)", 20000);
MockEndpoint mock = (MockEndpoint) ctx.getEndpoint("mock:result");
mock.expectedMessageCount(1);

@RunWith(JUnit4TestRunner.class)
public class JpaBlueprintRouteTest extends OSGiBlueprintTestSupport {
@Test
public void testBlueprintRouteJpa() throws Exception {
getInstalledBundle("CamelBlueprintJpaTestBundle").start();
BlueprintContainer ctn = getOsgiService(BlueprintContainer.class, "(osgi.blueprint.container.symbolicname=CamelBlueprintJpaTestBundle)", 30000);
CamelContext ctx = getOsgiService(CamelContext.class, "(camel.context.symbolicname=CamelBlueprintJpaTestBundle)", 20000);
MockEndpoint mock = (MockEndpoint) ctx.getEndpoint("mock:result");
mock.expectedMessageCount(1);
