java - Camunda 在 Spring Boot 应用程序上禁用 DbHistoryEventHandler
问题描述
您好,我是 camunda 的新手,现在我正在将 camunda 从 3.4 迁移到 7.14,我想禁用 DbHistoryEventHandler 所以它不会写入历史表(https://docs.camunda.org/manual/7.14/update/ minor/712-to-713/#changed-behavior-for-custom-historyeventhandler ),但问题是我在spring boot camunda引擎属性上找不到enableDefaultDbHistoryEventHandler ( https://docs.camunda.org/manual/7.14 /user-guide/spring-boot-integration/configuration/#camunda-engine-properties),谁能帮我解决这个问题。
解决方案
已经找到了答案,对于遇到这个问题的每个人,您都可以在您的 spring boot application.yaml 中添加这个来禁用它
camunda.bpm:
generic-properties:
properties:
enableDefaultDbHistoryEventHandler: false
推荐阅读
- c++ - 如何使用 std::ostringstream 来检查输出?
- c++ - Gdiplus::Image::FromStream 返回 NULL
- javascript - Elasticsearch 按自定义 created_at 字段排序
- javascript - 在 SVG 标签内使用动态渲染图像有什么可能吗?
- c++ - 具有不同数据类型的容器:2 种方法,只有一种可以编译。为什么?
- javascript - PayPal Express 运费未在补丁中更新
- python - 我应该如何获取包含 [start, end] 范围的列表并将较短的范围“吸收”到重叠的较大范围中?
- apache-kafka-streams - Apache Kafka ksqlDB 将流转发到现有主题
- axios - 使用 NUXT、Axios、NEST 和 CSURF 进行 CSRF 保护
- c# - C# XElement 作为谓词<>