Already tried using Assign Message policy but apparently we cannot use Assign Variable to concatenate string with a variable. I tried doing it with the <Ref> tag.
Solved! Go to Solution.
New (better) answer to an old question.
You can now concatenate within AssignMessage/AssignVariable, using the new Template element.
This is available in Apigee Edge Saas as of November 2018, and will be in OPDK in the January release, 19.01 (I believe).
Example:
<AssignMessage name="AV-1"> <AssignVariable> <Name>name_of_variable_to_assign_here</Name> <Template>Hello {request.queryparam.greeting}</Template> </AssignVariable> </AssignMessage>