Files
spring-boot-demo/core-events/output/04-generic-events-and-erasure.txt
T
Claude d6b76c57db Add core-events module: @EventListener, @TransactionalEventListener phases and async listeners on Boot 4.1
Thirteen captured transcripts: a listener is a blocking method call, ordering and chaining, SpEL conditions,
generic-event erasure, every transaction phase on commit and rollback, what an AFTER_COMMIT listener can
write, which exceptions reach the publisher, async listeners on platform and virtual threads, and the
annotations behind Spring Modulith's @ApplicationModuleListener.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
2026-09-24 07:08:47 +00:00

19 lines
546 B
Plaintext

# Created<Order> and Created<Customer> published as plain payloads, then the same with ResolvableTypeProvider
--- publishing Created<Order> ---
Created<?> listener got a Order
publishEvent returned normally
--- publishing Created<Customer> ---
Created<?> listener got a Customer
publishEvent returned normally
--- publishing TypedCreated<Order> ---
TypedCreated<Order> listener got a Order
publishEvent returned normally
--- publishing TypedCreated<Customer> ---
TypedCreated<Customer> listener got a Customer
publishEvent returned normally