Spring 3: How to call @Async annotated methods from the TaskExecutor

后端 未结 4 1166
说谎
说谎 2020-12-31 09:15

I\'m new to asynchronous task execution in Spring, so please forgive me if this sounds like a silly question.

I read that @Async annotation is introduced from Sprin

4条回答
  •  清酒与你
    2020-12-31 09:56

    You can add @Async on your method and the following to your Application context.

           
        
    

提交回复
热议问题