Description
Version used of Blueprint Web : 1.0
I don't know if this example has ever work - https://github.com/apache/camel/blob/master/examples/camel-example-servlet-tomcat-blueprintweb/src/main/resources/META-INF/blueprint.xml but this is apparently not the longer case.
When we start mvn jetty:run within the project, we get this error
2015-09-30 10:37:29.054:WARN:/:Failed to startup blueprint container. java.lang.IllegalArgumentException: Unsupported namespaces: http://camel.apache.org/schema/blueprint
java.lang.IllegalArgumentException: Unsupported namespaces: http://camel.apache.org/schema/blueprint
at org.apache.aries.blueprint.container.BlueprintContainerImpl.init(BlueprintContainerImpl.java:99)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.<init>(BlueprintContainerImpl.java:73)
at org.apache.aries.blueprint.web.BlueprintContextListener.contextInitialized(BlueprintContextListener.java:86)
Why, when the BlueprintContext is created, then it fails to load the camel namespace handler
We should upgrade to this version of Blueprint Web :
which allow to specify :
blueprintNamespaceHandlers OR META-INF/blueprint.handlers
and adapt the example to pass the blueprintNamespaceHandlers