Hi Priyadarshini,

For the  handleRequest method of the customer handler you will be receiving
the messageContext as below;

public boolean handleRequest(MessageContext messageContext)


This messageContext has a method as *getEnvelope* [1] which will give you
the message (including header and body).

[1] -
https://github.com/wso2/wso2-synapse/blob/master/modules/core/src/main/java/org/apache/synapse/MessageContext.java#L193


Regards,

On Mon, Nov 11, 2019 at 5:16 PM Priyadarshini Punjabi <
[email protected]> wrote:

> Hii,
>
> how to read request body in custom handler wso2.
>
> Thanks
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Pasindu Jayaweera *| Senior Software Engineer | WSO2 Inc
Mobile: +94 711555785 | Blog: blog.pasindujayaweera.com
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to