We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need to provide a way to configure Kalix components. In Spring, usually, this is done via @Value annotation.
@Value
public class EchoAction extends Action { public EchoAction(@Value("${test.config.int}") int value) { System.out.println(value); }
this doesn't work because we have a custom DefaultListableBeanFactory without additional configuration.
DefaultListableBeanFactory
The text was updated successfully, but these errors were encountered:
I was able to fix that: https://github.com/lightbend/kalix-jvm-sdk/pull/1647/files#diff-145fb34add220ff4456929bdec52eb12dd0b294dad2c6d6fcde36ff8674c8e87R262 but I'm not comfortable with that change. It feels hacky and maybe there is a more elegant solution.
Sorry, something went wrong.
Another idea might be to look at PropertyPlaceholderAutoConfiguration
PropertyPlaceholderAutoConfiguration
Successfully merging a pull request may close this issue.
We need to provide a way to configure Kalix components. In Spring, usually, this is done via
@Value
annotation.this doesn't work because we have a custom
DefaultListableBeanFactory
without additional configuration.The text was updated successfully, but these errors were encountered: