Blueprint Testing
Testing is a crucial part of any development or integration work. Camel supports the definition of Blueprint routes, but given Blueprint is an OSGi specific technology, writing unit tests is quite difficult. This library leverages PojoSR which provides a service registry without using a fully compliant OSGi container. This allows defining real unit tests (as opposed to integration tests using Pax Exam.
Here is an example using XML Config.
Also notice the use of getBlueprintDescriptors
to indicate that by default we should look for the camelContext.xml in the package to configure the test case which looks like this