Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Camunda 工作流程,并且必须集成文件存储库以读取存储的工作流程(.bpmn)。我正在使用 minio 服务器的 docker 容器。那么,是否有任何机制可以将文件存储库集成到 camunda 引擎?
Camunda 将部署的进程存储在数据库中,并且由于完整的引擎依赖于此,因此如果没有(完整的)重写,这将无法更改为文件存储库。
您可以做的是拦截部署并将进程存储在数据库之外的文件存储库中。
我以前没有这样做,但一个好的起点应该是ProcessEngineConfigurationImpl#getCustomPostDeployers(..),它允许在 camunda 部署发生后完成注册代码。
ProcessEngineConfigurationImpl#getCustomPostDeployers(..)