Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
jobrunrPublic archive

About

A plugin for JobRunr to make use of Virtual Threads provided by Project Loom in JDK 16

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Overview

This repository contains the loom plugin for JobRunr.

By adding this plugin on JDK 16 (still in Early Access at the time of writing) that has Project Loom available, JobRunr will automatically make use of Virtual Threads.

Usage

As Project Loom is still in Preview, this library is not yet available on Maven Central.

  • Install JDK16 with Project Loom
  • Adapt gradle.properties and make sure the path to JDK16 is correct
  • Build the project and publish the jar to your Local Maven repository
  • Next to the standard JobRunr jar, also add the jar org.jobrunr.plugins:jobrunr-loom:1.0-SNAPSHOT
  • Run your project and make sure you see "JobRunrExecutor of type 'VirtualThreadJobRunrExecutor' started" in the logs

A complete example is available here: https://github.com/jobrunr/example-salary-slip/tree/loom

More info about JobRunr and Loom is available in the blog post Project Loom, Virtual Threads and JobRunr

About

A plugin for JobRunr to make use of Virtual Threads provided by Project Loom in JDK 16

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages