This documentation is for WSO2 Enterprise Service Bus version 4.7.0 . View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleImportant

Reliable Message only works with Nhttp configuration not with Pass-through

Objective: Demonstrate the reliable message exchange between the client and ESB using WS-ReliableMessaging (WS-RM).

Code Block
languagehtml/xml
<definitions xmlns="http://ws.apache.org/ns/synapse">
    <proxy name="StockQuoteProxy">
        <target>
            <inSequence>
                <header name="wsrm:SequenceAcknowledgement" action="remove"
                        xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"/>
                <header name="wsrm:Sequence" action="remove"
                        xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"/>
                <header name="wsrm:AckRequested" action="remove"
                        xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"/>
                <send>
                    <endpoint>
                        <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
                    </endpoint>
                </send>
            </inSequence>
			<outSequence>
				<send/>
			</outSequence>
        </target>
        <publishWSDL uri="file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/>
        <enableRM/>
    </proxy>
</definitions>

...