Hi!

I´m trying to use Throttle in my xml CamelContext under 2.9 Camel version,
but when I set the /maximumRequestsPerPeriod/ property my compilation fails
displaying this message:
*cvc-complex-type.3.2.2: Attribute 'maximumRequestsPerPeriod' is not allowed
to appear in element 
         'camel:throttle'.*

if I delete the /maximumRequestsPerPeriod/ property my route fails at
runtime displaying this message:
*Caused by: java.lang.IllegalStateException: The maximumRequestsPerPeriod
must be a positive number, was: 0*

I can´t solve this problem.

Please. Help.

Thanx

--
View this message in context: 
http://camel.465427.n5.nabble.com/Throttling-maximumRequestsPerPeriod-problem-tp5586898p5586898.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to