Currently, the WebClientProvider can only be injected into Kalix components. I can be convenient to allow its injection into regular Spring components.
However, there is a catch. The WebClientProvider requires access to the ActorSystem and this is only available after we start Kalix inside the SDK. And Kalix starts after the ApplicationContext is built.
Currently, the WebClientProvider can only be injected into Kalix components. I can be convenient to allow its injection into regular Spring components.
However, there is a catch. The WebClientProvider requires access to the ActorSystem and this is only available after we start Kalix inside the SDK. And Kalix starts after the ApplicationContext is built.