Files
spring-boot-demo/core-beans/output/28-fix-events.txt
T

9 lines
305 B
Plaintext

# Fix 2: PaymentService publishes an event instead of calling NotificationService
started: true
place("kettle") -> order placed: charged
listener on thread main: e-mail says: 1 x kettle
--- what the publisher sees when the listener throws ---
place("boom") threw IllegalStateException: mail server down