Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.19 KB

README.md

File metadata and controls

19 lines (16 loc) · 1.19 KB

JobRunr Quarkus example

This repository shows an example how you can integrate JobRunr and Quarkus.

About this project

This project has the following packages:

  • org.jobrunr.examples: this package contains 3 classes:
    • JobRunrExampleApplication: the EE application that defines the context path
  • org.jobrunr.examples.services: this package contains MyService, a simple ApplicationScoped service with two example methods which you can run in the background.
  • org.jobrunr.examples.webap.api: this package contains the following http resource:
    • JobResource: this resource contains two REST api's which allows you to enqueue new Background Jobs

How to run this project:

  • clone the project and open it in your favorite IDE that supports Maven
  • Run the Maven plugin mvn quarkus:dev and wait for Quarkus to be up & running
  • Open your favorite browser: