Sample 102:Reliable message exchange between Synapse and the back-end server using WS-ReliableMessaging 1.1

<definitions xmlns="http://ws.apache.org/ns/synapse"> <sequence name="main"> <in> <RMSequence single="true" version="1.1"/> <send> <endpoint name="reliable"> <address uri="http://localhost:9000/services/ReliableStockQuoteService"> <enableRM/> <enableAddressing/> </address> </endpoint> </send> </in> <out> <send/> </out> </sequence> </definitions>

Objective

Demonstrate the message exchange between Synapse and the server using WS-ReliableMessaging (WS-RM) - 1.1

Pre-requisites

  • Deploy the SimpleStockQuoteService in the sample Axis2 server and start Axis2
  • Start Synapse using the configuration numbered 102 (repository/conf/sample/synapse_sample_102.xml)
    Unix/Linux: sh synapse.sh -sample 102
    Windows: synapse.bat -sample 102

Executing the Client

This sample is as same as the previous one except it uses WS-RM 1.1 version where as the previous sample is using the RM version 1.0

Back to Catalog