Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 638 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 638 Bytes

Simple Java Worker

This example uses Orkes Java Client v4 fat jar: libs/orkes-conductor-client-4.0.0-all.jar.

Min Java Version: 11.

The jar includes all transitive dependencies like:

  • Jackson.
  • OkHttp3.
  • Guava.
  • Slf4j - but no specific implementation to allow the user to choose between Log4j, Logback or another.

Here's a list of the classes included in jar: classes.txt.

Usage

1 - Compile

javac -cp "libs/*" -d . src/io/orkes/conductor/examples/worker/SimpleJavaWorker.java

2 - Execute

java -cp "libs/*:./resources:." io.orkes.conductor.examples.worker.SimpleJavaWorker