If method which is marked as EventListener returns some object it will publish as a new event? Really? I tried but there wasn’t any new event. As far as I know Spring just ignores such objects
SpringEvents are not helpful at all when deploying on instances that can just restart due to updates to server box, it is better to use Queues or something persistent to handle events.
Very interesting! Thank you so much.
Good Stuff. Thanks!
If method which is marked as EventListener returns some object it will publish as a new event? Really? I tried but there wasn’t any new event. As far as I know Spring just ignores such objects
I think he means that if you want to return an object from an event then you'd need to publish another event
great stuff
where is the code
Here: github.com/odrotbohm/spring-events-deep-dive
SpringEvents are not helpful at all when deploying on instances that can just restart due to updates to server box, it is better to use Queues or something persistent to handle events.