Jakarta Concurrency
3.0
2.0
1.0

This feature enables the creation of managed executors that allow applications to submit tasks to run concurrently, with thread context that is managed by the application server.It also enables the creation of managed thread factories to create threads that run with the threadcontext of the component that looks up the managed thread factory.

Enabling this feature

To enable the Jakarta Concurrency 2.0 feature, add the following element declaration into your server.xml file, inside the featureManager element:

<feature>concurrent-2.0</feature>

Standard API packages provided by this feature

  • jakarta.enterprise.concurrent

Supported Java versions

  • JavaSE-1.8

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-21.0

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

io.openliberty.concurrent-2.0; type="osgi.subsystem.feature"