synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: Making loadbalance/failover configuration more convenient
Date Wed, 05 May 2010 04:31:31 GMT
On Tue, May 4, 2010 at 11:02 PM, indika kumara <indika.kuma@gmail.com>wrote:

>
>
> On Tue, May 4, 2010 at 10:46 PM, Supun Kamburugamuva <supun06@gmail.com>wrote:
>
>>
>>
>> On Mon, May 3, 2010 at 7:42 PM, indika kumara <indika.kuma@gmail.com>wrote:
>>
>>> Ruwan
>>>
>>> When I am just going through [1] ,  I feel that the use of  XML element
>>> for URI is more suitable than an attribute. The variation is in URI and not
>>> in address endpoint.
>>>
>>>  <address>
>>>   <uri [ value="" ]  | [
>>> expression="${protocol}://${host}[:${port}][${path}]"]  />
>>>  </address>
>>>
>>> In the proposed approach I believe the user has to set the properties,
>> protocol, host, port and path.
>>
>> For example to calculate the path user has to say.
>>
>> <property name="path" value="path value" scope="synapse"/>.
>>
>> And we will parse the above url and replace the ${} with
>> the calculated values.
>>
>> Thanks,
>> Supun..
>>
>
> I did not care that ... I just told that an element is more suitable than
> an attribute for URI based on an article from an XML expert.
>
> I'm +1 for an uri attribute and a uri element :)

Thanks,
Supun..


> BTW , seems you are correct..
>
> Thanks
>
> Indika
>



-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Mime
View raw message