问题描述
我正在尝试构建一个简单的 Fuse 集成,它接受来自应用程序 1 的 POST 并将其传递给应用程序 2 以进行响应。
这是蓝图。我试图找出蓝图中 rsClient 和 RSService bean 的超类是什么。我还没有找到一个例子。
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cxf="http://camel.apache.org/schema/blueprint/cxf"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd http://camel.apache.org/schema/blueprint https://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
<cxf:rsClient address="${CXFclient}" id="rsClient"
loggingFeatureEnabled="true" loggingSizeLimit="500" serviceClass="**ph.edu.dlsu.esb.service.COClient**"/>
<cxf:RSServer address="${CXFserver}${serverService}"
id="RSServer" loggingFeatureEnabled="true"
loggingSizeLimit="500" serviceClass="**ph.edu.dlsu.esb.service.COGService**">
</cxf:RSServer>
<camelContext id="_context1" xmlns="http://camel.apache.org/schema/blueprint">
<route id="_route1">
<from id="_from1" uri="cxfrs:RSServer">
<description>Accepts POST from Application 1 to change of grade</description>
</from>
<log id="_log1" message="Got here"/>
<to id="_to1" uri="cxfrs:rsClient">
<description>POST to Application 2 the change of grade JSON data and return the JSON response to requestor</description>
</to>
</route>
</camelContext>
</blueprint>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)