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).
- Deploy the SimpleStockQuoteService in the sample Axis2 server and start it on port 9000.
- Start ESB with the sample configuration number 201 (i.e. wso2esb-samples -sn 201).
In the above configuration, a proxy service is created with WS-RM enabled using the <enableRM/> tag. Therefore, this proxy service is capable of communicating with a WS-RM client. It also removes the WS-RM headers in the In Sequence before the message is sent to the back end server. This is required as the reliable messaging is applicable only between the client and ESB. Now start the client with WS-RM as follows:
In this case, client sends WS-RM enabled request to ESB where ESB sends normal request to the server. This can be observed by examining the wire level messages between the client and ESB. These messages would be similar to the wire level messages shown in sample 101. Each message would perform a similar function to the messages discussed in sample 53.