The only thing built in would be the scheduling feature. Take a look at http://activemq.apache.org/delay-and-schedule-message-delivery.html
This allows you to delay a message or schedule so this may work for you. Otherwise I think you will have to continue using client logic if you want to throttle your consumers. On Sat, Jan 30, 2016 at 1:15 PM, Bilgin Ibryam <[email protected]> wrote: > Hi all, > > Apologoes if this is a stupid question. But I wonder is there a way to > do throttling on the consumer side. Let me clarify what I mean. > > PFC can do throttling for the producer, but I need a similar behaviour > on the consumer. For example I want to configure a message consure or > message queue so that messages are consumed/released one per second. > Usually the messages are consumed as fast as the cosnumers can take. > Then I can do some throttling in consumer Camel route, but that > throutling in Camel cannot be clustered accross instances. If the > throttling can be configured ot queue level, then I don't have to do > consumer throttling. > > Thanks, > > -- > Bilgin Ibryam > Camel Committer at ASF & Integration Architect at Red Hat > Blog: http://ofbizian.com | Twitter: @bibryam > > Camel Design Patterns https://leanpub.com/camel-design-patterns > Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475 >
