Found the answer. I have missed the "key-expression" property in the "endpoint" element [1] :-)
[1] - https://docs.wso2.com/display/ESB481/Indirect+and+Resolving+Endpoints Thanks Rushmin On Thu, Oct 9, 2014 at 12:11 PM, Rushmin Fernando <[email protected]> wrote: > > In the below sample code, do I have a way to use the value of the > parameter "endpointRef" as the key of the endpoint. > > $endpointRef or $func:endpointRef doesn't get resolved to the parameter > value. > > > <template xmlns="http://ws.apache.org/ns/synapse" name="Template_A"> > > <parameter name="endpointRef" description="End point reference for the > back end call."/> > > <sequence> > > <call> > <endpoint key="$endpointRef"/> > </call> > > </sequence> > </template> > > > Thanks > Rushmin > > > > -- > *Rushmin Fernando* > *Technical Lead* > > WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware > > email : [email protected] > mobile : +94772310855 > > > -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware email : [email protected] mobile : +94772310855
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
