An open API service indexing awesome lists of open source software.

https://github.com/kh77/springboot-event

Spring boot event publisher and listener example
https://github.com/kh77/springboot-event

application-events-with-spring events spring-boot

Last synced: about 1 month ago
JSON representation

Spring boot event publisher and listener example

Awesome Lists containing this project

README

          

## Spring Boot Events

- How to use ApplicationEventPulisher and EventListener.
- Using @Async approach for EventListener to handle.

- For User endpoint:
` curl --location --request POST 'localhost:8080/users' \
--header 'Content-Type: application/json' \
--data-raw '{
"userName" : "hello-world",
"password" : "hello-world"
}'`