Author: supun Date: Tue Jun 30 23:10:56 2009 New Revision: 40475 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40475
Log: Updating the header mediator Modified: trunk/esb/java/docs/xdoc/mediators/header.xml Modified: trunk/esb/java/docs/xdoc/mediators/header.xml URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/mediators/header.xml?rev=40475&r1=40474&r2=40475&view=diff ============================================================================== --- trunk/esb/java/docs/xdoc/mediators/header.xml (original) +++ trunk/esb/java/docs/xdoc/mediators/header.xml Tue Jun 30 23:10:56 2009 @@ -42,7 +42,32 @@ </ul> <h3>Example</h3> +<pre xml:space="preserve"> <in> + <RMSequence single="true" version="1.0"/> + <send> + <endpoint name="reliable"> + <address uri="http://localhost:9000/services/ReliableStockQuoteService"> + <enableRM/> + <enableAddressing/> + </address> + </endpoint> + </send> + </in> + <out> + <header name="wsrm:SequenceAcknowledgement" action="remove" + xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"/> + <header name="wsrm:Sequence" action="remove" + xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"/> + <header name="wsrm:AckRequested" action="remove" + xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"/> + <send/> + </out></pre> -<p></p> +<p>ESB receives a non reliable message and it forward it to an endpoint that +supports reliable messaging. In this example when ESB recieves a message we +send it using Reliable messaging. So the response ESB receives is having +Reliable messaging headers. We don't want to send these headers to the client +who doesn't support reliable messaging. So we remove the reliable messaging +headers before sending the reponse to the client.</p> </body> </html> _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
