Hi all,
This mail is regarding https://issues.apache.org/jira/browse/SYNAPSE-567.
Currently when we defining leaf endpoints of loadbalance/failover endpoint
we have to explicitly define full url of the endpoint.
However in most loadbalance/failover scenarios endpoints are like
{IP_X}:{PORT_A}/services/MyService
{IP_Y}:{PORT_B}/services/MyService
{IP_Z}:{PORT_C}/services/MyService
Proposed solution is, configure addresss endpoint like this
<endpoint>
<address uri="https://localhost:8852/$INCOMING_URL_PATH">
</address>
</endpoint>
and replace path of the url ("services/MyService") with $INCOMING_URL_PATH.
Is this a proper solution? Else we can upgrade default endpoint to rewrite
address using regular expression which is more flexible solution.
Any ideas?
Thanks,
--
Miyuru Daminda Wanninayaka
Software Engineer - WSO2 Inc.