Lazily retrieve delegate beans in AsyncConfigurer and CachingConfigurer [SPR-17021] #21559
Comments
Juergen Hoeller commented A related case has been reported in #21484... While there is not much we can do about that case of triggering hard references to other beans from an |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Marcin Grzejszczak opened SPR-17021 and commented
Having such code
The
myTaskExecutor
is not applicable to get wrapped via proxy. In Spring Cloud Sleuth we're doing our best so that all instrumentation gets done automatically, behind the scenes. In this case a user has to manually call Sleuth internals to wrap theThreadPoolTaskExecutor
in a tracing representation.Affects: 5.0.7
Reference URL: spring-cloud/spring-cloud-sleuth#1022
Issue Links:
Referenced from: commits f6fdffd
The text was updated successfully, but these errors were encountered: