我有Jms代理,我使用callout mediator。如何在标注调解员得到答复?
<?xml version="1.0" encoding="UTF-8"?>
<proxy name="JmsQueue" startOnLoad="true" trace="disable"
transports="jms" xmlns="http://ws.apache.org/ns/synapse">
<target>
<inSequence>
<property name="OUT_ONLY" scope="default" type="STRING" value="true"/>
<callout action="http://LoadTestSrv/IService1/ConfirmPayment" endpointKey="LoadTestSrvEp">
<source type="envelope"/>
<target key="response"/>
</callout>
<log level="full">
<property expression="get-property('response')" name="Response"/>
</log>
</inSequence>
<outSequence />
<faultSequence>
<log category="ERROR" level="custom">
<property name="Proxy 'JmsQueue'" value="********* FAULT *********"/>
</log>
<property name="SET_ROLLBACK_ONLY" scope="axis2" type="STRING" value="true"/>
<log level="custom">
<property name="Transaction Action" value="Rollbacked"/>
</log>
</faultSequence>
</target>
</proxy>