Lahiru;

I checked the code, looks we check for Domain too..
You can simply define a throttle policy for domain and check.. To test
this, if you face difficulty on how to set domain param, you can write
simple axishandler and keep that @inflow and set REMOTE_HOST parameter with
the configured domain value..
If that works, we will update doc too..:)

Thanks.


On 10 September 2014 17:54, Lahiru Sandaruwan <[email protected]> wrote:

> Hi,
>
> [1] explains how we can manage throttling policy for IP based throttling
> using a WS-Policy. Same manner, we should be able to support domain based
> throttling for APIs. As per [2], we can using domain attribute as follows.
>
>  <throttle:ID throttle:type="DOMAIN">*.wso2.org</throttle:ID>
>
> Is it just missing in the docs or are we depending on a API Manager
> component on this?
>
> Thanks.
>
> [1]
> https://docs.wso2.com/display/AM170/Managing+Throttling+Tiers#ManagingThrottlingTiers-HowtowriteathrottlingpolicyandengageittoAPIs
> [2] http://wso2.com/library/articles/wso2-throttling/
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: [email protected] cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
-Ratha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to