@Async cara kerjanya @enableasync
@Configuration
@EnableAsync
public class SpringAsyncConfig { ... }
@Async
public void thisWorksLikeAThread(){ ... }
Cloudy Caterpillar
@Configuration
@EnableAsync
public class SpringAsyncConfig { ... }
@Async
public void thisWorksLikeAThread(){ ... }