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

Throttler: Rejected message whe rejectExecution=true

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.3
    • 2.16.0
    • camel-core
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment