Apache Camel cxfEndpoint

时间:2015-08-24 00:49:31

标签: apache-camel

我尝试使用WSRR(Websphere Service Registry and Repository)来检索我正在使用的服务的端点。我有一个方法,它将查找并返回服务的端点。我已将此设置为属性中的publishedEndpointUrl

但是,它并没有取代"地址"的价值。如果我删除"地址",它会抛出一个错误。还有另一种方法可以达到这个目的吗?

这就是我的尝试:

<cxf:cxfEndpoint id="test" address="https://..." serviceClass="...">
   <cxf:properties>
     <entry key="publishedEndpointUrl value="#{wsrr.getEndpoint()}">
   </cxf:cxfEndpoint>
<cxf:cxfEndpoint>

0 个答案:

没有答案