我有這樣的WSO2 ESB代理:如何使inSequence中沒有發送
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse" name="sid008" transports="http" startOnLoad="true" trace="disable">
<target>
<inSequence>
<switch source="get-property('inquiryId')">
<log level="full"/>
<case regex="">
<send/>
</case>
<default>
</default>
</switch>
</inSequence>
<outSequence>
<....some processing..>
<send/>
</outSequence>
</target>
<publishWSDL key="CommonService.wsdl">
<resource location="request.xsd" key="request.xsd"/>
<resource location="response.xsd" key="response.xsd"/>
<resource location="SMEV.xsd" key="SMEV.xsd"/>
<resource location="statusAndError.xsd" key="statusAndError.xsd"/>
</publishWSDL>
</proxy>
在該代理在默認情況下不發送中介不運行outSequence
。我如何能做到這一點,而不發送中介
一般來說,如果inSequence沒有指定發送中介,那麼WSO2 ESB收到的消息將在inSequence結尾處被刪除。由於請求消息沒有真正進入代理配置中提到的端點,因此在outSequence中確實沒有響應。你的用例是什麼? –