spring-projects / spring-projects/spring-framework
Introduce API to select application listeners [SPR-15441]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 60.2k
- Forks
- 38.8k
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 27
Description
Oliver Drotbohm opened SPR-15441 and commented
It would be cool if there was an API that allowed accessing application event listeners by different criterias. One obvious candidate would be transactional event listeners but also being able to find and them by a concrete method reference would be useful.
This came up in the development of a prototype for persisted domain events that make sure event publications for transactional event listeners don't get lost in case of an application crash after the transaction has completed and before the event has been processed successfully.
Issue Links:
- #19689 Annotation-based event listener does not receive event published in
@PostConstruct - #21411 Allow registration of application event listeners in a functional way
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files, tests, or entry points are identified in the issue. Start by reviewing the linked spring-domain-events prototype and related issues #19689 and #21411; done requires a defined API for locating application event listeners by listener type or method reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100