Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/13.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
WSO2 ESB可靠消息传递_Wso2_Wso2esb_Esb_Ws Reliablemessaging - Fatal编程技术网

WSO2 ESB可靠消息传递

WSO2 ESB可靠消息传递,wso2,wso2esb,esb,ws-reliablemessaging,Wso2,Wso2esb,Esb,Ws Reliablemessaging,我尝试了这个示例“”,不幸的是,我无法理解这个示例中解释的配置。配置为: <definitions xmlns="http://ws.apache.org/ns/synapse"> <in> <RMSequence single="true" version="1.1"/> <send> <endpoint name="reliable"> <address uri="http://

我尝试了这个示例“”,不幸的是,我无法理解这个示例中解释的配置。配置为:

<definitions xmlns="http://ws.apache.org/ns/synapse">
<in>
    <RMSequence single="true" version="1.1"/>
    <send>
        <endpoint name="reliable">
        <address uri="http://localhost:9000/services/ReliableStockQuoteService">
        <enableRM/>
        <enableAddressing/>
            </address>
        </endpoint>
    </send>
</in>
<out>
    <header name="wsrm:SequenceAcknowledgement" action="remove"
            xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"/>
    <header name="wsrm:Sequence" action="remove"
            xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"/>
    <header name="wsrm:AckRequested" action="remove"
            xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"/>
    <send/>
</out>
但它正在暂停。备份服务器在同一ESB 4.8.1中托管,并启用了默认RM策略。

@Reza

definitions标记是ESB synapse配置的根标记。在definitions标签下,包括所有与synapse工件相关的配置,如代理服务、序列等

另外,关于您所指的示例,您所指的是较旧版本的4.7.0,请确保已启用nhttp传输。我建议您使用更新的版本,而不是旧版本。请参考[1],一篇由菩提玛写的好文章


[a]

感谢您的回复,我想我还没有启用HTTP-NIO,因此错误将得到解决。当我阅读文档时,WS-RM是否过时了?为什么新版本中省略了它?@RezaAmeri,这个特殊的功能还没有被淘汰。对于较新的版本,我们已经将QoS从新包中分离出来,并且可以将WS-RM作为p2 repo的一项功能安装。另外,另一个变化是我们通过入站端点引入了WS-RM。有关更多信息,请参阅
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="reliableClient"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <RMSequence single="true" version="1.0"/>
         <send>
            <endpoint>
               <wsdl service="reliableBackEnd"
                     port="reliableBackEndHttpSoap11Endpoint"
                     uri="http://localhost:9763/services/reliableBackEnd?wsdl">
                  <enableAddressing/>
                  <enableRM/>
               </wsdl>
            </endpoint>
         </send>
      </inSequence>
      <outSequence>
         <header xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"
                 name="wsrm:SequenceAcknowledgement"
                 action="remove"/>
         <header xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"
                 name="wsrm:Sequence"
                 action="remove"/>
         <header xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"
                 name="wsrm:AckRequested"
                 action="remove"/>
         <send/>
      </outSequence>
   </target>
   <description/>
</proxy>