I have some scenario
Please provide me some skeleton with appropriate notations.
You should have your method as sync, but if you want to call your async methd, inside of your async method you should call your sync method.
public void mySyncMethod(){
//whatever you want.
}
Async method
@Async
public void myAsyncMethod(){
mySyncMethod();
}
I supposed you are using spring boot