Grokking Spring Boot
0% completed
Events After Commit
These five log messages, in order, come from one test of the booking service. In that test, Ben's request committed seat A12 while Ana's payment call was still running. Ben's own lines and one Hibernate warning with the error code are left out:
c.e.booking.bookings.BookingService : Publishing BookingConfirmed for booking 2 c.e.booking.notifications.Notifier : Received BookingConfirmed for booking 2 c.e.booking.notifications.EmailSender : Email to ana@example.com: Your seat A12 is confirmed c.e.booking.bookings.BookingService : Returned from publishEvent org
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%