synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: Defining endpoints with a common configuration
Date Mon, 07 Mar 2011 19:01:50 GMT
On Mon, Mar 7, 2011 at 10:54 PM, Udayanga Wickramasinghe
<udayanga@wso2.com>wrote:

> Hi,
>
> On Mon, Mar 7, 2011 at 4:47 PM, Supun Kamburugamuva <supun06@gmail.com>wrote:
>
>> In lot of production systems there are hundreds of endpoints deployed.
>> These endpoints carry lot of redundant configurations. So it is better to
>> have a template based endpoint configuration.
>>
>> Here is a proposed configuration
>>
>> <endpoints>
>>     <endpoint name="" uri="" template=""/>
>>     <endpoint name="" uri="" template=""/>
>>     <endpoint name="" uri="" template=""/>
>> </endpoint>
>>
>> <endpoint-template name="">
>>          <address>
>>             <suspendOnFailure>
>>                 <errorCodes>23123</errorCodes>
>>                 <progressionFactor>1.0</progressionFactor>
>>             </suspendOnFailure>
>>             <markForSuspension>
>>                 <errorCodes>1231</errorCodes>
>>             </markForSuspension>
>>             <retryConfig>
>>                 <errorCodes>1231</errorCodes>
>>             </retryConfig>
>>         </address>
>> </emdpoint-template>
>>
>> Based on the endpoint-temaplate configuration multiple endpoints will be
>> created with the url and name defined in the endpoints configuration element
>> at the run-time.
>>
>> +1
> btw are we defining  configurable parameters for templates?? or are they
> just static templates?
>
>

For this case I believe it is just a static template.

Thanks,
Supun..


> Regards,
> Udayanga--
>
> *Udayanga Wickramasinghe*
> Software Engineer; WSO2 Inc.; http://wso2.com,
> *email: **udayanga@wso2.com* <udayangaw@wso2.com>* cell: +94 (77) 983-4365
> blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com/>
> *
> twitter: **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick>
> *
> *
>



-- 
Supun Kamburugamuva
Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: supun@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com

Mime
View raw message