camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owain <>
Subject Re: It IS possible to import routeContext in OSGi Blueprint
Date Wed, 01 Jun 2016 11:04:08 GMT
Thanks guys for the reply.  This has really helped me tidy my unit tests up. 
I hadn't realised that I could load xml from the test resources directory
from getBlueprintDescriptor().  

Interestingly loadConfigAdminConfigurationFile() needs the full path from
the module route.  i.e. 

    return new String[] {
            "my.config.stuff"     // Persistent ID

With some naming standards I could refactor the route name as a parameter
and generate all of the inputs to these calls.  Or perhaps not.

Thanks again.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message