We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be579a commit a712371Copy full SHA for a712371
1 file changed
modules/core/src/main/java/org/apache/synapse/mediators/template/TemplateContext.java
@@ -65,6 +65,7 @@ public class TemplateContext {
65
public TemplateContext(String name, Collection<TemplateParam> parameters) {
66
this.fName = name;
67
this.parameters = parameters;
68
+ addInvokeMediatorIDParam();
69
mappedValues = new HashMap();
70
}
71
@@ -118,6 +119,11 @@ public void setupParams(MessageContext synCtxt) {
118
119
120
121
122
+ private void addInvokeMediatorIDParam() {
123
+
124
+ parameters.add(new TemplateParam(SynapseConstants.INVOKE_MEDIATOR_ID, false, null));
125
+ }
126
127
private ResolvedInvokeParam getEvaluatedInvokeParam(MessageContext synCtx, String parameterName,
128
InvokeParam propertyValue) {
129
0 commit comments