In a spring component, i have this method:
@Async("@taskExecutorFactory.getOrCreate(#taskId)") public void updateTask(String taskId) { // update