Yeah, as Claus says its a local in-JVM throttler.

If you want a cluster-aware throttler, you could throttle each JVM by
limit / numberOfNodes as a rough approximation :)

Or you could send all your requests to a JMS queue, then use an
Exclusive Consumer in your cluster to ensure that only 1 node at any
point in time operates the throttle...
http://activemq.apache.org/exclusive-consumer.html


2008/7/25 Claus Ibsen <[EMAIL PROTECTED]>:
> Hi
>
> I am pretty sure the throttler in Camel is not cluster aware. It's a local 
> throttle.
>
> Maybe your queue / JMS provider has such a feature?
>
>
>
> Med venlig hilsen
>
> Claus Ibsen
> ......................................
> Silverbullet
> Skovsgårdsvænget 21
> 8362 Hørning
> Tlf. +45 2962 7576
> Web: www.silverbullet.dk
>
> -----Original Message-----
> From: pcpoorna [mailto:[EMAIL PROTECTED]
> Sent: 24. juli 2008 23:54
> To: [email protected]
> Subject: Does Camel throttler handles clustered environment?
>
>
> Hi
>
> I want to implement Camel throttler in a multi clustered environment. I have
> a question.
>
> Because there are multiple clusters, will the throttler applies the
> throttling limitation on each cluster or it will consider all the clusters
> as a single logical unit and apply throttling limit as a whole?
>
> For example if I set the throttling for a particular queue as 10 per every
> minute and there are 3 clusters, will the throttler be smart enough to
> throtte 10 per minute for the queue irrespective of the no. of clustorss or
> it will limit as 10 per cluster (which makes it as 30 as a whole).
>
> I assume I need to start the camelcontext in each cluster and hence I got
> this doubt.
>
> Thanks and Regards
> Poorna
> --
> View this message in context: 
> http://www.nabble.com/Does-Camel-throttler-handles-clustered-environment--tp18641335s22882p18641335.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to