We want to make Content-Type value as configurable and store as an entry in KVM Map. And want to call the configurable parameter in the policies like Assign Message policy for setting JSON payload / XML payload as per the requirement. But while doing so, we were getting an error during the deployment of the code. Is it possible to make the Content-Type configurable? Need suggestion on this.
Solved! Go to Solution.
Can you try the below code for your requirement.
<Payload contentType="{var}"></Payload>