【发布时间】:2015-04-25 07:05:15
【问题描述】:
我正在使用 WSO2 ESB 4.8.1。我正在给后端服务打个休息电话。为此,我使用 HTTP 端点模板来制作动态端点。我从我的 URL 中选择值并将其传递给端点。
序列码:
<sequence xmlns="http://ws.apache.org/ns/synapse" name="SampleSequence">
<property xmlns:ns="http://org.apache.synapse/xsd" name="uri.var.myProperty" expression="get-property('uri.var.identityCode')" scope="default" type="STRING"></property>
<send>
<endpoint>
<http method="get" uri-template="http://com.example?identityCode={uri.var.myProperty}"></http>
</endpoint>
</send>
</sequence>
问题: 该值已正确传递到属性中。但是端点没有接听它。这是正确的做法吗?
【问题讨论】:
标签: wso2 wso2esb wso2carbon