How to read query param in WSO2 ESB 4.8 or above?

后端 未结 2 1525
灰色年华
灰色年华 2020-12-19 10:53

I have a rest end point in WSO2ESB (4.8),I need to read query parameter to set as dynamic payload as the my business ,But i failed to read it due to newer with wso2 ESB.An

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-19 11:01

    Define a REST API inside ESB and access to query params with get-property('query.param.xxx') or get-property('uri.var.yyy'), sample :

    
    
    get-property('query.param.arg1')
    get-property('uri.var.symbol')
    

提交回复
热议问题