A Deep Dive into Spring Application Events

Поділитися
Вставка
  • Опубліковано 29 жов 2024

КОМЕНТАРІ • 8

  • @DavidePavan
    @DavidePavan 3 роки тому +1

    Very interesting! Thank you so much.

  • @NilsElHimoud
    @NilsElHimoud 3 роки тому

    Good Stuff. Thanks!

  • @jfractal2009
    @jfractal2009 8 місяців тому

    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

    • @ianwanjala8621
      @ianwanjala8621 Місяць тому +1

      I think he means that if you want to return an object from an event then you'd need to publish another event

  • @sameeramanorathna1316
    @sameeramanorathna1316 3 роки тому

    great stuff

  • @smithdragon6477
    @smithdragon6477 3 роки тому +3

    where is the code

    • @naregbar190
      @naregbar190 3 роки тому +3

      Here: github.com/odrotbohm/spring-events-deep-dive

  • @whatslifespurpose
    @whatslifespurpose 2 роки тому

    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.