【问题标题】:Camunda Disable DbHistoryEventHandler on Spring Boot applicationCamunda 在 Spring Boot 应用程序上禁用 DbHistoryEventHandler
【发布时间】:2021-01-13 14:55:59
【问题描述】:

您好,我是 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 引擎属性 (https://docs.camunda.org/manual/7.14/user-guide/spring-boot-integration/configuration/#camunda-engine-properties) 上找到 enableDefaultDbHistoryEventHandler,谁能帮我解决这个问题。

【问题讨论】:

    标签: java spring-boot camunda


    【解决方案1】:

    已经找到了答案,对于遇到此问题的每个人,您都可以在您的 spring boot application.yaml 中添加这个来禁用它

      camunda.bpm:
        generic-properties:
          properties:
            enableDefaultDbHistoryEventHandler: false
    

    参考:https://docs.camunda.org/manual/7.14/user-guide/spring-boot-integration/configuration/#generic-properties

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-16
      • 2017-04-07
      • 2017-11-06
      • 1970-01-01
      • 2016-01-21
      • 2015-08-17
      • 2017-07-11
      • 2017-11-08
      相关资源
      最近更新 更多