Supun, Endpoint is a static entry and it declares a set of attributes of the relevant EPR... In theory you shouldn't be mixing the dynam ic content with the endpoint declaration.
Lets consider the following scenario, an endpoint referring to EPR called A, having security with a given policy B, so it is not possible to dynamically change the EPR because it might affect the other properties associted with the endpoint. I am sorry, but I don't see the value addition of the endpoint being dynamic in the case of loadbalancing and failover... Please note that you have the capability of dynamic loadbalancing with synapse which is a different case. Can you please explain the value additon of this dynamic endpoint address scenario.... I think the existing behavior is fine. :-) Thanks, Ruwan On Fri, Jun 26, 2009 at 11:00 AM, Supun Kamburugamuva <[email protected]>wrote: > Hi all, > > I got this idea and I thought of asking it from the community. > > I think it is better to have the flexibility to change an endpoint address > dynamically. At the moment we can achieve this with DefaultEndpoint or using > a send mediator without an Endpoint. In both these cases we can change the > address by using the header mediator to set the To. Or we can use the > incoming To address without using a HeaderMediator. > > But if we want to change the address of a loadbalance or failover endpoint > dynamically, this won't work. So my idea is to allow the endpoints to use an > expression to pick the endpoint address. > > This may be valid or I might be missing something :). Your comments are > welcome. > > Thanks, > Supun.. > > -- > Software Engineer, WSO2 Inc > http://wso2.org > http://supunk.blogspot.com > > > -- Ruwan Linton Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb WSO2 Inc.; http://wso2.org email: [email protected]; cell: +94 77 341 3097 blog: http://ruwansblog.blogspot.com
