Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9184

Throttler: Rejected message whe rejectExecution=true

    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.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              anoordover Arno Noordover
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: