Requires Java. IBM Semueru Runtimes Java 17 can be obtained here
To run this sample, first download zip or clone this repo - to clone:
git clone [email protected]:gauthamkrishnanibm/jakarta-concurrency-demo.git
From inside the jakarta-concurrency-demo-main
directory, build and start the application in Open Liberty with the following command:
./mvnw liberty:dev
This app will demo key features of Jakarta Concurrency - ManagedExecuterService, ContextService and ManagedThreadFactory.
Once the server has started,
For ManagedExecuterService http://localhost:9080/concurrency/api/managedExecuters
For managedThreads http://localhost:9080/concurrency/api/managedThreads
For contextPropagation http://localhost:9080/concurrency/api/contextPropagation