2014-08-27 19 views
0

如果我使用send中介與收件人列表或克隆介體,wso2esb將在soap:Body上發送沒有屬性的消息。我在代理服務上籤署了消息,因此留下消息是至關重要的。 使用發送中介只有一個收件人(不在收件人列表中)工作正常。在wso2esb版本481上,一切正常。 我在wso2esb jira中搜索了關閉的bug,但沒有發現任何有用的東西。wso2esb 403發送到多個端點更改消息(刪除soap:Body中的屬性)

因此,也許有人可以提供關於這個問題的一些信息,或告訴我如何繞過這個問題?

回答

0

這裏的鏈接到錯誤追蹤:https://wso2.org/jira/browse/ESBJAVA-1053

我終於做出了鉤是這樣的:

<!-- otherwise second request won't be sent --> 
    <property name="DISABLE_CHUNKING" value="true" scope="axis2"/> 
    <enrich> 
    <source clone="false" type="envelope" xpath="" property="" /> 
    <target action="replace" type="property" xpath="" property="INIT_MSG" /> 
    </enrich> 
    <clone sequential="false"> 
    <target> 
     <sequence> 
      <enrich> 
       <source xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" clone="false" type="custom" xpath="get-property('INIT_MSG')" property="" /> 
       <target action="replace" type="envelope" xpath="" property="" /> 
      </enrich> 
      <send> 
       <endpoint> 
       <address uri="address1" /> 
       </endpoint> 
      </send> 
     </sequence> 
    </target> 
相關問題