Wso2 由于两个按顺序发送的中介,获取try-it代理错误

Wso2 由于两个按顺序发送的中介,获取try-it代理错误,wso2,wso2esb,Wso2,Wso2esb,我的代码: <filter xpath="get-property('statusFromClassMed')='Valid'"> <then> <log level="custom"> <property name="InsideValidFilter" v

我的代码:

<filter xpath="get-property('statusFromClassMed')='Valid'">
                              <then>
                                 <log level="custom">
                                    <property name="InsideValidFilter" value="--------State is Valid-------"/>
                                 </log>
                                 <log level="custom">
                                    <property name="STATE" value="message is sent to queue"/>
                                 </log>
                                 <property name="OUT_ONLY" value="true"/>
                                 <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2"/>
                                 ***<send>
                                    <endpoint key="jmsMBendpoint"/>
                                 </send>***
                                 <header name="To" action="remove"/>
                                 <property name="RESPONSE" value="true" scope="default" type="STRING"/>
                                 <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
                                 <payloadFactory>
                                    <format>
                                       <ns1:PostPublicationResponse xmlns:ns1="http://www.openoandm.org/xml/ISBM/">
                                          <ns1:MessageID>$1</ns1:MessageID>
                                          <ns1:MessageContent>$2</ns1:MessageContent>
                                       </ns1:PostPublicationResponse>
                                    </format>
                                    <args>
                                       <arg expression="get-property('getMessageIDFromClassMed')"/>
                                       <arg expression="get-property('MessageContent')"/>
                                    </args>
                                 </payloadFactory>
                                 ***<send/>***
                              </then>
                              <else>
                                 <log level="custom">
                                    <property name="InsideNonValidFilter" value="--------State is InValid-------"/>
                                 </log>
                                 <header name="To" action="remove"/>
                                 <property name="RESPONSE" value="true" scope="default" type="STRING"/>
                                 <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
                                 <payloadFactory>
                                    <format>
                                       <soapenv:Fault xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
                                          <soapenv:Code>
                                             <soapenv:Value>soapenv:Receiver</soapenv:Value>
                                          </soapenv:Code>
                                          <soapenv:Reason>
                                             <soapenv:Text xml:lang="en-US">Invalid Parameter</soapenv:Text>
                                          </soapenv:Reason>
                                          <soapenv:Detail/>
                                       </soapenv:Fault>
                                    </format>
                                 </payloadFactory>
                                 <send/>
                              </else>
                           </filter>

***
***
$1
$2
******
soapenv:接收器
无效参数
我已按顺序使用了过滤器。如果筛选器为true,那么我必须将负载发送到MessageBroker的队列,该队列在我的端点中定义,因此我使用发送中介,然后我必须将负载作为响应发送。但由于使用了两个send中介,有时我会得到try-it代理。如何解决这种情况? 还有一个问题吗?我正在我的topic属性中传递多个topic参数。但它只得到了单一的价值
提前感谢

如果要将响应发送回客户端,请在第一次发送中介时使用“receiveSequence”选项,您将在该选项中收到响应。在该序列中,定义其他中介逻辑

  <send receive="recevingSeq">
      <endpoint>
         <address uri="https://localhost:9445/services/AppService" format="soap11"/>
      </endpoint>
   </send>


我无法向队列发送消息或显示响应。无论我在插入序列中提供什么,只有一种情况会发生,如果您不能向队列发送消息,那么这是另一个问题。如果您收到来自端点的响应,您将能够在接收序列中获得该响应。但是如何?请提供一个例子。我可以发送到消息代理队列,并显示自定义Payloa作为响应,上面的代码在我的问题中提到,但有时它给我一个try-it错误,原因是使用了两个发送中介。