我有这样的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中确实没有响应。你的用例是什么? –