Skip to content

holunda-io/ktor-camunda-7

Repository files navigation

Simple Ktor example with Camunda

,--. ,--.   ,--.                      ,-----.                                          ,--.          
|  .'   / ,-'  '-.  ,---.  ,--.--.   '  .--./  ,--,--. ,--,--,--. ,--.,--. ,--,--,   ,-|  |  ,--,--. 
|  .   '  '-.  .-' | .-. | |  .--'   |  |     ' ,-.  | |        | |  ||  | |      \ ' .-. | ' ,-.  | 
|  |\   \   |  |   ' '-' ' |  |      '  '--'\ \ '-'  | |  |  |  | '  ''  ' |  ||  | \ `-' | \ '-'  | 
`--' '--'   `--'    `---'  `--'       `-----'  `--`--' `--`--`--'  `----'  `--''--'  `---'   `--`--' 
  • Starts a camunda engine with InMemory Configuration
  • Deploys automatically all *bpmn files
  • Register all classes which implements JavaDelegate, TaskListener, ExecutionListener and Variable Listeners as camunda delegates

Setup

./gradle clean package

Run

./gradle run

FatJar / ShadowJar

Build

./gradlew clean build shadowJar

Run

java -jar build/libs/ktor-camunda.jar

Start process

GET http://localhost:8080/process/startByKey/ktor-process

Ref

KTor

Camunda

Shadow Jar

About

Running camunda 7 engine with ktor app server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages