There are several beans require TaskExecutor or TaskScheduler without @Qualifier, which means inject wrong executors if we declare some executor bean @Primary.
As previously discussed at #28719, I use @Qualifier instead to avoid cglib proxies.
Comment From: sbrannen
Related Issues:
-
26227
Comment From: rstoyanchev
This looks okay to me. What do you think @sdeleuze, @jhoeller?
Comment From: rstoyanchev
We'll fix this in 5.3.x. Note that a similar change was applied to the web config as well #23887.