Skip to content

Revise @Poller usage to single entry in Messaging Annotations. #3746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

onobc
Copy link
Contributor

@onobc onobc commented Mar 10, 2022

Fixes #3506

@onobc onobc requested a review from artembilan March 10, 2022 01:54
Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

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

Thanks, Chris.

Please, find some review on the lines.

- Make annotation utils check for NONE more generic
- Move docs to whats-new.adoc
- Polish javadoc
@onobc onobc force-pushed the cbono/gh-3506-poller-single-entry branch from 36cc028 to c3be5bc Compare March 10, 2022 16:19
@onobc onobc requested a review from artembilan March 10, 2022 16:22
"The 'poller' for an Annotation-based endpoint can have only one '@Poller'.");
Poller poller = pollers[0];

if (poller != null && !ValueConstants.DEFAULT_NONE.equals(poller.value())) {
Copy link
Member

Choose a reason for hiding this comment

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

DITTO

- simplify docs
- simplify isProvided checks
@artembilan
Copy link
Member

Merged as f3d3694 after some commit message clean up.

Thank you, Chris, again!

@artembilan artembilan closed this Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revise @Poller usage to a single entry in the Messaging Annotations
2 participants