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:
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:
@PostConstruct