Skip to content

Commit

Permalink
fix: camunda 7 worker retries
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikhorn93 committed Nov 30, 2023
1 parent d1f1557 commit 7c9c364
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void execute(final WorkerExecutor executor, final ExternalTask externalTa
} catch (final Exception error) {
int retries = getRemainingRetries(externalTask.getRetries(), workerRetries);
log.severe("Error while executing external task " + error.getMessage());
service.handleFailure(externalTask, error.getMessage(), Arrays.toString(error.getStackTrace()), retries, 5000L);
service.handleFailure(externalTask, error.getMessage(), Arrays.toString(error.getStackTrace()), retries -1, 5000L);
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
server.port=9090
camunda.bpm.client.base-url=http://localhost:8080/engine-rest
camunda.bpm.client.disable-backoff-strategy=true
camunda.autoDeploy.enabled=false
#logging.level.root=DEBUG
#miranum.c7.auth.server.url=http://localhost:8080/auth/realms/forms-flow-ai/protocol/openid-connect/token
#miranum.c7.client.id=test-client
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1dolndx" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.8.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:process id="SimpleExampleProcess" name="Simple Example Process" isExecutable="true">
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1dolndx" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.15.1" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:process id="SimpleExampleProcess" name="Simple Example Process" isExecutable="true" camunda:historyTimeToLive="10">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0yx0bta</bpmn:outgoing>
</bpmn:startEvent>
Expand Down
5 changes: 3 additions & 2 deletions stack/camunda-7/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Use this only in dev environments. It's not intended for production usage.
version: '3'
services:
camunda:
image: camunda/camunda-bpm-platform:7.18.0
camunda-miranum:
image: camunda/camunda-bpm-platform:7.20.0
container_name: camunda-miranum
ports:
- "8080:8080"

0 comments on commit 7c9c364

Please sign in to comment.