layout: default_md title: Virtual Threads title-class: page-title-activemq5 type: activemq5

Using ActiveMQ > Configure version 6 Virtual Threads

Virtual Threads support

ActiveMQ support for Virtual Threads is in Technology Preview stage.

Virtual Threads benefits

  • Performance on-par with reactive coding approaches
  • JDK-based option for peak concurrency performance
  • Automatically scales based on need and detected CPU cores
  • Less configuration tuning required for administrators
  • Easier to code extensions

Configuration

To enable Virtual Threads in ActiveMQ 6.x (and higher)

<broker ... virtualThreadTeaskRunner="true" .. >

ActiveMQ Virtual Thread Implementation Progress

The implementation approach is subject to change. Be sure to verify features in Release notes.

User feedback is welcome! Please comment on the JIRAs with questions and comments.

JIRA|Status|Target Version|Completed Version|Feature|Notes ---|---|--- AMQ-9394 | PR #1121 | 6.1.0 | | Task Runner Factory | Optional support to configure Virtual Thread Executor Service