https://github.com/elenavanengelenmaslova/injectfunctionsspringannotations
Inject Kotlin functions in Spring Boot
https://github.com/elenavanengelenmaslova/injectfunctionsspringannotations
annotations functional-programming functions kotlin spring-boot
Last synced: about 1 month ago
JSON representation
Inject Kotlin functions in Spring Boot
- Host: GitHub
- URL: https://github.com/elenavanengelenmaslova/injectfunctionsspringannotations
- Owner: elenavanengelenmaslova
- License: mit
- Created: 2025-01-30T11:34:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-01T13:55:59.000Z (11 months ago)
- Last Synced: 2025-08-02T00:38:02.944Z (11 months ago)
- Topics: annotations, functional-programming, functions, kotlin, spring-boot
- Language: Kotlin
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
Run InjectFunctionsApplication, see the output. Then update `application.properties` to `AWS` and see the message change in the console from `Publishing message on Service Bus: Order processed` to `Publishing message on Event Bridge: Order processed`
# References
This repository was created as an example to blog post: [Inject Functions in Spring Boot](https://medium.com/@elenavanengelen/kotlin-tips-and-tricks-you-may-not-know-6-inject-functions-in-spring-boot-9b41dac3e685)