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
- Host: GitHub
- URL: https://github.com/kh77/springboot-event
- Owner: kh77
- Created: 2022-11-27T07:53:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T07:53:29.000Z (over 3 years ago)
- Last Synced: 2023-03-06T22:09:11.518Z (over 3 years ago)
- Topics: application-events-with-spring, events, spring-boot
- Language: Java
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
}'`