Async Use @Async on method to execute on a different thread Use @EnableAsync on main method to enable @Async