Hi there,

if you scroll up in your logging/console you may see that the route has
failed to deploy?

You also seem to be mixing Spring and Blueprint XML configuration, for
instance `import` is relevant to Spring, and not blueprint, and you can
safely delete the `<routeContextRef ref="myCoolRoutes"/>` code also.

It's also worth noting that a deployed camel app will allow you to use
blueprint routes defined within the OSGI-INF folder. However this does not
happen by default during testing. Therefore you if you want to load multiple
files within Camel's testing framework you will need to include the paths to
all of your files, using the comma delimiter.

    @Override 
    protected String getBlueprintDescriptor() { 
        return "/OSGI-INF/blueprint/test-context_2.xml,"
                 "/OSGI-INF/blueprint/YOUR_FIRST_CONTEXT.xml"; 
    } 

Could you confirm there are not other errors in your logs?

Alan



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-blueprint-unit-tests-tp5738925p5738943.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to