You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ma...@apache.org on 2023/11/18 19:23:03 UTC

(activemq-website) branch main updated: [AMQ-9394] Add updated instructions to using Virtual Threads

This is an automated email from the ASF dual-hosted git repository.

mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-website.git


The following commit(s) were added to refs/heads/main by this push:
     new febdf630e [AMQ-9394] Add updated instructions to using Virtual Threads
febdf630e is described below

commit febdf630ec304ae41ade2600322f51e745fea52b
Author: Matt Pavlovich <ma...@hyte.io>
AuthorDate: Sat Nov 18 13:22:18 2023 -0600

    [AMQ-9394] Add updated instructions to using Virtual Threads
---
 src/virtual-threads.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/virtual-threads.md b/src/virtual-threads.md
index d026f7788..80ddec541 100644
--- a/src/virtual-threads.md
+++ b/src/virtual-threads.md
@@ -23,8 +23,18 @@ ActiveMQ support for Virtual Threads is in Technology Preview stage.
 
 To enable Virtual Threads in ActiveMQ 6.x (and higher)
 
+1. Checkout activemq source code from git
+2. Build using JDK 21 (Virtual Thread support will be added automatically)
+3. Edit conf/activemq.xml
+
     <broker ... virtualThreadTeaskRunner="true" .. >
 
+4. Run ActiveMQ and confirm with the following log message:
+
+    INFO | VirtualThreadExecutor initialized name:ActiveMQ BrokerService[localhost] Task
+
+NOTE: The log message may be removed in the future
+
 ### ActiveMQ Virtual Thread Implementation Progress 
 
 The implementation approach is subject to change. Be sure to verify features in Release notes.