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
