Сообщение Re[4]: @Async Spring boot не пашет местами от 29.07.2023 17:13
Изменено 29.07.2023 17:16 Ballista
Re[4]: @Async Spring boot не пашет местами
не, не работает. но я нашел объяснение.
In short, for Spring to be able to provide the async behavior it needs to create a proxy for your class at runtime. The proxy then does whatever it needs to do before and/or after calling your code. But in your case, the proxy mechanism is not being applied for the second method.
https://stackoverflow.com/questions/24898547/spring-async-method-called-from-another-async-method
похоже это ожидаемое поведение.
In short, for Spring to be able to provide the async behavior it needs to create a proxy for your class at runtime. The proxy then does whatever it needs to do before and/or after calling your code. But in your case, the proxy mechanism is not being applied for the second method.
https://stackoverflow.com/questions/24898547/spring-async-method-called-from-another-async-method
похоже это ожидаемое поведение.
Re[4]: @Async Spring boot не пашет местами
не, не работает.