From 0f65c66a353bc29b45cb378002595c1cdb6f56b6 Mon Sep 17 00:00:00 2001 From: Tobias Schaefer Date: Wed, 23 Mar 2022 17:18:25 +0100 Subject: [PATCH] Close #386: Load EventSubscription in stage 1 (increases startup by about 20 ms) To check the order of the mappings: In Configuration::StrictMap::get add a breakpoint which logs 'name + " does not contain value for " + key' in case of 'throw new IllegalArgumentException(name + " does not contain value for " + key)' --- .../src/main/resources/bpm/onboarding.bpmn | 6 ++++-- .../camunda/bpm/feature/MnProcessEngineConfiguration.java | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/micronaut-camunda-bpm-example/src/main/resources/bpm/onboarding.bpmn b/micronaut-camunda-bpm-example/src/main/resources/bpm/onboarding.bpmn index faa4cbe1..8f608e3c 100644 --- a/micronaut-camunda-bpm-example/src/main/resources/bpm/onboarding.bpmn +++ b/micronaut-camunda-bpm-example/src/main/resources/bpm/onboarding.bpmn @@ -1,5 +1,5 @@ - + @@ -44,9 +44,11 @@ Flow_1sebvul + + @@ -118,7 +120,7 @@ - + diff --git a/micronaut-camunda-bpm-feature/src/main/java/info/novatec/micronaut/camunda/bpm/feature/MnProcessEngineConfiguration.java b/micronaut-camunda-bpm-feature/src/main/java/info/novatec/micronaut/camunda/bpm/feature/MnProcessEngineConfiguration.java index fa9ae506..f32e6d99 100644 --- a/micronaut-camunda-bpm-feature/src/main/java/info/novatec/micronaut/camunda/bpm/feature/MnProcessEngineConfiguration.java +++ b/micronaut-camunda-bpm-feature/src/main/java/info/novatec/micronaut/camunda/bpm/feature/MnProcessEngineConfiguration.java @@ -209,6 +209,7 @@ protected InputStream getMyBatisXmlConfigurationSteamStage1() { " \n" + " \n" + " \n" + + " \n" + // e.g. Message Start Events are registered during deployment " \n" + // FilterAllTasksCreator " \n" + //AdminUserCreator " \n" + //AdminUserCreator @@ -266,7 +267,7 @@ protected InputStream getMyBatisXmlConfigurationSteamStage2() { //" \n" + //" \n" + " \n" + - " \n" + + //" \n" + " \n" + //" \n" + //" \n" +