Skip to content

CAMEL-19986-1: Improved ThrottlingExecutor#11942

Merged
orpiske merged 1 commit into
apache:mainfrom
LostArtist:camel-19986-1
Nov 8, 2023
Merged

CAMEL-19986-1: Improved ThrottlingExecutor#11942
orpiske merged 1 commit into
apache:mainfrom
LostArtist:camel-19986-1

Conversation

@LostArtist
Copy link
Copy Markdown
Contributor

Improved ThrottlingExecutor, so it can execute more different tasks.
Usage:

slowly().repeat(count_of_repetitions).awaiting(interval, TimeUnit.MILLISECONDS).beforeWait()
                .beforeEach((i) -> task1)
                .afterEach((i) -> task2)
                .execute();

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 8, 2023

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run

  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot.

  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.

  • Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.

  • ⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

Copy link
Copy Markdown
Contributor

@orpiske orpiske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and it looks quite straight to the point.

Ideally, on a subsequent PR, you could provide some javadoc to the public APIs.

@orpiske orpiske merged commit e218a66 into apache:main Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants