Bundle正在等待命名空间处理程序蓝图和cxf

时间:2016-01-13 23:22:49

标签: apache-camel apache-karaf blueprint-osgi apache-servicemix

我在使用Blueprint,Camel和Camel-CXF在Servicemix(5.5.1)上重新部署JAR时遇到问题:

org.apache.aries.blueprint.core - 1.4.3 | Bundle my-camel-project is waiting  
for namespace handlers [http://camel.apache.org/schema/blueprint/cxf, 
http://camel.apache.org/schema/blueprint]

显然,某些网址今天已被修改:

这是我的蓝图定义的一部分:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
  xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cxf="http://cxf.apache.org/blueprint/core"
  xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
  xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
  xmlns:camelcxf="http://camel.apache.org/schema/blueprint/cxf"
  xsi:schemaLocation="
    http://www.osgi.org/xmlns/blueprint/v1.0.0
    http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
    http://camel.apache.org/schema/blueprint
    http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
    http://cxf.apache.org/blueprint/core 
    http://cxf.apache.org/schemas/blueprint/core.xsd
    http://cxf.apache.org/blueprint/jaxrs
    http://cxf.apache.org/schemas/blueprint/jaxrs.xsd
    http://cxf.apache.org/blueprint/jaxws 
    http://cxf.apache.org/schemas/blueprint/jaxws.xsd">
  ...
  <camelcxf:cxfEndpoint id="serviceSoap"
    address="http://localhost:8989/soap" serviceClass="my.path.ServiceSOAP" />
  ...
  <camelContext xmlns="http://camel.apache.org/schema/blueprint">
    ...
  </camelContext>
</blueprint>

我按照Camel教程和Camel In Action一书中的大量示例构建了这些代码。有些日子工作了,但现在不行。

最近有新的东西?

0 个答案:

没有答案