-
I have multiple models configured in application.properties file and want to inject one of them in a class. How do I specify which one? Say I have these two configurations:
and I wanted to inject 'model-b' how would I do it? I know you can do a simple I tried using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@ModelName was what I was looking for. Don't know how I missed it in the documentation. |
Beta Was this translation helpful? Give feedback.
@ModelName was what I was looking for. Don't know how I missed it in the documentation.