camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Cali <als...@gmail.com>
Subject Re: Throtteling and dynamically changing MaxRequestsPerPeriod via Bean
Date Fri, 17 Apr 2015 13:50:06 GMT
The bean should return a number > 0, the class is fairly simple:


public class ConfigurationSource {
    private long messagesPerSecond = 10;
    
    public long getMessagesPerSecond() {
        return messagesPerSecond;
    }

}

Alex



--
View this message in context: http://camel.465427.n5.nabble.com/Throtteling-and-dynamically-changing-MaxRequestsPerPeriod-via-Bean-tp5765952p5765956.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message