Vert.x Virtual Threads Incubator
Incubator for virtual threads based prototypes.
Prerequisites
- Vert.x 4.3.7
- Java 19 using preview feature
Projects
- Async/await incubator
- Execute blocking incubator
- Synchronous Vert.x incubator
- Examples
Usage
enable preview flag must be enabled
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>19</release>
<compilerArgs>--enable-preview</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--enable-preview</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
snapshots are available at s01.oss.sonatype.org
<repositories>
<repository>
<id>vertx-snapshots-repository</id>
<name>Vert.x Snapshots Repository</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>