camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Throttling: maximumRequestsPerPeriod problem
Date Sun, 25 Mar 2012 21:04:45 GMT
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 <garrydias@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message