Yes, this can be achieved with the property + header mediator and
default endpoint. But is kind of an in-direct approach rather than a
direct approach. I think this approach is much clearer and easier to
understand from the users perspective.

Thanks,
Supun..

On Mon, Jan 31, 2011 at 12:55 AM, Rajika Kumarasiri <[email protected]> wrote:
> I guess this can be achieved using a combination of header + property
> mediators. But user will have to write more configurations.
>
> Rajika
>
> On Mon, Jan 31, 2011 at 12:46 AM, Supun Kamburugamuva <[email protected]>
> wrote:
>>
>> It is often a requirement to have dynamic endpoint URLs. For example
>> when people develop synapse configurations they are in a dev
>> environment and they want these configurations to work without
>> changing many things in the production environment. Having
>> parameterized endpoints is a key to this kind of deployments.
>>
>> So If we treat the endpoint URL as combination of synapse property
>> values and static strings this can be achieves easily and
>> consistently.
>>
>> For example http://${HOST_PROPERTY}:9000/${URL}
>>
>> Here ${} is used to refer an synapse property.
>>
>> Thanks,
>> --
>> Technical Lead, WSO2 Inc
>> http://wso2.org
>> supunk.blogspot.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>



-- 
Technical Lead, WSO2 Inc
http://wso2.org
supunk.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to