camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christian.ohr" <christian....@googlemail.com>
Subject Re: Throttling RoutePolicy based on JMS queue size
Date Wed, 27 Jun 2012 15:40:02 GMT
What is your objective of throttling?

If you place a JMS queue between Parts A and B, the routes will run using at
least 2 different threads. If Part A is faster then the queue will fill up
and act as a buffer that decouples the varying speed of execution. 
I often had this scenario (fast producer, slow consumer) and always did it
this way without need of further throttling.

cheers
Christian


--
View this message in context: http://camel.465427.n5.nabble.com/Throttling-RoutePolicy-based-on-JMS-queue-size-tp5715134p5715172.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message