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.

Reply via email to