camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awillia <>
Subject Unable to change throttle with inflight messages
Date Thu, 01 Sep 2011 22:17:30 GMT
I would like to be able to change the throttle value dynamically based on a
some setting.

I have created a bean that returns this value, so it basically looks like


We are essentially using it to manage a daily quota of messages, which I
understand it is not essentialy what it was designed for, but the
functionality is much the same.

The problem is that if we hit the limit, the message is throttled and stays
inflight. This means that we we change the quota to a higher value then that
message still remains at the lower value and as such the messages are not

I have tried to stop and start the route, but this doesnt seem to clear the
message (should it?), only restarting the whole application seems to clear
things up.

Is there a way to do this or would we have to implement our own way of doing


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

View raw message