Is this what you want? [1]

[1] https://docs.wso2.com/display/ESB490/Indirect+and+Resolving+Endpoints

On Tue, Jun 7, 2016 at 9:11 PM, Godwin Shrimal <god...@wso2.com> wrote:

> Hi Harsha,
>
> As I mentioned above endpoint key is in a property and we need to pick the
> endpoint based on that property.
>
>
> Thanks
> Godwin
>
>
> On Tue, Jun 7, 2016 at 2:54 PM, Harsha Thirimanna <hars...@wso2.com>
> wrote:
>
>> Hi Godwin,
>> What do you mean by dynamic ? You meant , it is pass as a parameter from
>> the request or those are known endpoint and just pick that based on request
>> parameter ?
>>
>>
>> *Harsha Thirimanna*
>> Associate Tech Lead; WSO2, Inc.; http://wso2.com
>> * <http://www.apache.org/>*
>> *email: **hars...@wso2.com* <az...@wso2.com>* cell: +94 71 5186770 *
>> *twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
>> *harshathirimannlinked-in: **http:
>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>>
>> *Lean . Enterprise . Middleware*
>>
>>
>> On Wed, Jun 8, 2016 at 1:04 AM, Lahiru Sandaruwan <lahi...@wso2.com>
>> wrote:
>>
>>> Sorry, wrong solution. This is for, when you have the endpoint in a
>>> property :)
>>>
>>> Thanks.
>>>
>>> On Tue, Jun 7, 2016 at 2:11 PM, Lahiru Sandaruwan <lahi...@wso2.com>
>>> wrote:
>>>
>>>> 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 <god...@wso2.com> 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
>>>>> Dev@wso2.org
>>>>> 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: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> *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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to