synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajika Kumarasiri <raj...@wso2.com>
Subject Re: Dynamic endpoint URLs
Date Sun, 30 Jan 2011 19:25:40 GMT
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 <supun06@gmail.com>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: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

Mime
View raw message