camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <>
Subject Exception on adding throttle "Definition has no children on Throttle"
Date Tue, 22 Jul 2014 18:03:18 GMT
i am creating some routes with jave in a for loop (all is working fine). now
i need to add "throttle" to the outer route definition" but with it i get:
Exception in thread "main" org.apache.camel.FailedToCreateRouteException:
Failed to create route cepToRtdmdfESP://
_DATA_USAGE_STREAM at: >>> Throttle[{10} request per 1000 millis -> []] <<<
in route: Route(cepToRtdmdfESP://
because of Definition has no children on Throttle[{10} request per 1000
millis -> []]

the structure is as follows (pseudo code) - all in "configure()" 
   RouteDefinition rd = from(fromEndpoint)
   MulticastDefinition md = rd.multicast();

what went wrong? how to throttle correctly?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message