Loading a registry entry into a wso2 property mediator

江枫思渺然 提交于 2019-12-06 12:22:17

I solved my question. For anyone interested in the solution it is actually very simple. The following code loads a resource stored in the registry into a property that can be referenced in a mediator /sequence / etc.

<property name="MAPPING" expression="get-property('gov:/custom/service/resource')" />

Regards, nidkil

You can achieve your requirement using the below configuration.

 <property name="testProp" expression="get-property('registry', 'gov://custom/testEntry')" scope="default" type="STRING"/> 
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!