Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.15.3
-
Fix Version/s: 2.16.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
When a message gets rejected and rejectExecution is true, the rejected message is still assigned to the new time-slot.
When you use the throttler to secure against DOS going to the backend a DOS can fill up many time-slots.
I'm not sure whether this behaviour is the expected behaviour. My feeling says that the rejected message should not be assigned to a new time-slot.
Maybe the exception should be raised in the synchronized method that determines the starting of a new time-slot.