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

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

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)