You can use the following property mediator to read HTTP headers inside WSO2 ESB through Synapse Configuration.
Here, the value of the HTTP header called "Accept" get assigned in to property called "Lang"
<property name="Lang" expression="get-property('transport', 'Accept')"/>
Here, the value of the HTTP header called "Accept" get assigned in to property called "Lang"
Thanks... Nice info. It help me so much
ReplyDelete