Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache camel JBOSS FUSE Bundle正在GracePeriod中等待命名空间处理程序_Apache Camel_Fuseesb_Jbossfuse - Fatal编程技术网

Apache camel JBOSS FUSE Bundle正在GracePeriod中等待命名空间处理程序

Apache camel JBOSS FUSE Bundle正在GracePeriod中等待命名空间处理程序,apache-camel,fuseesb,jbossfuse,Apache Camel,Fuseesb,Jbossfuse,我试图在蓝图中添加bean 添加了CXF名称空间。但是,JBOSS保险丝显示 13:10:28,339 | INFO | NAPSHOT-thread-1 | BlueprintContainerImpl | 14 - org.apache.aries.blueprint.core - 1.0.1.redhat-60024 | Bundle camel-basic is waiting for namespace handlers [http://camel.apache.

我试图在蓝图中添加bean

添加了CXF名称空间。但是,JBOSS保险丝显示

13:10:28,339 | INFO  | NAPSHOT-thread-1 | BlueprintContainerImpl           | 14 - org.apache.aries.blueprint.core - 1.0.1.redhat-60024 | Bundle camel-basic is waiting for namespace handlers [http://camel.apache.org/schema/cxf]
因此,我删除了cxf并添加了blueprint命名空间

http://camel.apache.org/schema/blueprint/cxf http://camel.apache.org/schema/blueprint/cxf/camel-cxf.xsd
但是,仍然没有用,它也显示了这个名称空间的相同错误

我是否需要在pom中更改任何内容,blueprint.xml r是否需要在jboss fuse中安装任何内容

我对此一无所知

blueprint.xml

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:camel="http://camel.apache.org/schema/blueprint" xmlns:cxf="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/cxf http://camel.apache.org/schema/blueprint/cxf/camel-cxf.xsd
       http://camel.apache.org/schema/blueprint  http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">


<camelContext id="blueprintContext"
                trace="false"
                xmlns="http://camel.apache.org/schema/blueprint">
        <route id="httpBridge">
        <from uri="jetty:http://localhost:8282/service_sample_proxy/services_proxy/WebserviceClassPort?matchOnUriPrefix=true"/>
        <process ref="downloadLogger"/>
        <to uri="jetty:http://localhost:8080/service_sample/services/WebserviceClassPort?bridgeEndpoint=true&amp;throwExceptionOnFailure=false"/>
        <process ref="downloadLogger"/>
        <to uri="bean:helloBean"/>
    </route>
</camelContext>  

  <cxf:cxfEndpoint id="webserviceProxy"
                     address="http://localhost:8383/service_sample_proxy/services_proxy/WebserviceClassPort"
                     endpointName="tns:WebserviceClassPort"
                     serviceName="tns:WebserviceClassService"
                     wsdlURL="wsdl/webserviceclass.wsdl"
                   xmlns:tns="http://webservice/" />

  <bean id="helloBean" class="org.fusesource.example.HelloBean" />

<bean id="downloadLogger" class="org.fusesource.example.DownloadLogger"/>  

</blueprint>

我在任何地方都没有用过这种豆子。首先我需要解决这个问题,然后我需要在路线中使用它

我检查一下房间


请帮助我。

将所有需要的功能安装到Fuse容器中(有关更多信息,请参阅):


好吧,我已经完成了上面提到的所有步骤,发现它在blueprint中仍然不起作用


奇怪的是,当路由在spring xml中被删除并从blueprint中删除后,一切都开始像魔术一样工作。

尝试使用camel cxf代替cxf并使用blueprint

谢谢,但是我应该在哪里找到“mvn:org.apache.camel.karaf/apache camel/2.9.0/xml/features”我在maven repo或jbossfuse服务器包的任何地方都看不到这一点。我看不到任何版本的camel特性。我正在使用JBOSS Fuse,我尝试了“features:chooseurl camel”,得到了“容器由fabric管理,请使用fabric:profile edit”,然后我使用了“fabric:profile edit--repositories mvn:org.apache.camel.karaf/apache camel/2.10.0.redhat-60024/xml/features”,但没有为其列出任何特性“战争,cxf,骆驼卡克斯,骆驼蓝图,骆驼cxf“不幸的是,我不知道保险丝的结构。您是否尝试使用Camel文档中所述的
features:addUrl mvn:org.apache.Camel.karaf/apache Camel/2.9.0/xml/features
添加Camel功能?它在jboss fuse中工作。所有这些命令都在运行,没有任何问题。。。jboss fuse中一定有一些配置导致了这个问题…我在再次设置服务器后尝试执行这个命令,我是说新的。它的工作没有任何问题。但是,我不知道为什么它以前在我的服务器上不工作。
features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.9.0/xml/features
features:install war
features:install cxf
features:install camel-jaxb
features:install camel-blueprint
features:install camel-cxf