Hi Godawin, You can set to header, see [1]
<header name="To" expression="XPath to create the address dynamically"/> Thanks. [1] https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/esb/docs/xdoc/faq.xml#mediation-change-ep-dynamic On Tue, Jun 7, 2016 at 2:00 PM, Godwin Shrimal <[email protected]> wrote: > Hi All, > > Do we have a way to do $Subject such as below, same way we are doing with > Sequence since my endpoint key is in a property. > > <property name="ACTUAL_ENDPOINT" value="gov:/testEndpoint" /> > <call> > <endpoint key="$ctx:ACTUAL_ENDPOINT"/> > </call> > > Thanks > Godwin > > -- > *Godwin Amila Shrimal* > Senior Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: *+94772264165* > linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* > twitter: https://twitter.com/godwinamila > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: [email protected] blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
