Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
When using Passthough transport, When transport switching is happening in response path, message has to be built.
For an example in the following sample configuration and an empty envelope get written to a file as message is not built when switching transports from http to vfs.
<proxy name="StockQuoteProxy" xmlns="http://ws.apache.org/ns/synapse">
<target>
<endpoint>
<address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
</endpoint>
<outSequence>
<property action="set" name="OUT_ONLY" value="true"/>
<send>
<endpoint>
<address uri="vfs:file:///home/isuru/response"/>
</endpoint>
</send>
</outSequence>
</target>
</proxy>