---
title: "Comment by Jamie Cordeiro on \"Enabling Virtual Thread in Kotlin + Spring Boot\" | Hashnode"
description: "Thanks for your article. But I have a question How can I adapt the @Async annotation in Spring Boot to use virtual threads instead of traditional platform threa"
url: "https://hashnode.com/posts/enabling-virtual-thread-in-kotlin-spring-boot/65803f11119ea81e7199e842/comment/66026c9cc44fbc7985bec425"
---

[Discussion](https://hashnode.com/posts/enabling-virtual-thread-in-kotlin-spring-boot/65803f11119ea81e7199e842)

Comment [Enabling Virtual Thread in Kotlin + Spring Boot](https://hashnode.com/posts/enabling-virtual-thread-in-kotlin-spring-boot/65803f11119ea81e7199e842)

[Jamie Cordeiro](https://hashnode.com/@JamieC1)

[Mar 26, 2024](https://hashnode.com/posts/enabling-virtual-thread-in-kotlin-spring-boot/65803f11119ea81e7199e842/comment/66026c9cc44fbc7985bec425)

Thanks for your article. But I have a question How can I adapt the @Async annotation in Spring Boot to use virtual threads instead of traditional platform threads? [PublixPassport](https://www.publix-passport.com/)

[Taehyeong Lee](https://hashnode.com/@jsonobject)

[Mar 27, 2024](https://hashnode.com/posts/enabling-virtual-thread-in-kotlin-spring-boot/65803f11119ea81e7199e842/comment/66026c9cc44fbc7985bec425#reply-660361e92899260fb67d358c)

If you specify @Async(TaskExecutionAutoConfiguration.APPLICATION\_TASK\_EXECUTOR\_BEAN\_NAME) at the method level of your spring bean, it will automatically work as a Virtual Thread. I've added that to the article :)
