The test also exists in Camel 2.9.1. Check out [1].
In your spring xml you didn't specify a default or the camel namespace
(only the schema location). This could be the issue. Try adding the
attributes:
xmlns="http://www.springframework.org/schema/beans"; xmlns:camel="
http://camel.apache.org/schema/spring";

[1]
https://svn.apache.org/repos/asf/camel/tags/camel-2.9.1/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringThrottlerTest.java

Best,
Christian

On Sun, Mar 25, 2012 at 7:16 PM, garrydias <garryd...@gmail.com> wrote:

> Still throwing *Caused by: java.lang.IllegalStateException: The
> maximumRequestsPerPeriod must be a positive number, was: 0*.
>
> Are the namespaces in spring xml correct?
>
> Thanks again
>
> regards
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Throttling-maximumRequestsPerPeriod-problem-tp5586898p5593539.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to