synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From indika kumara <indika.k...@gmail.com>
Subject Re: Making loadbalance/failover configuration more convenient
Date Tue, 04 May 2010 17:32:12 GMT
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.

BTW , seems you are correct..

Thanks

Indika

Mime
View raw message