Comments (11)
Spring-AutoDeployment: spring does a classpath scan and deploys all files that match some extension-patterns. Deployment is not grouped and not linked to processApplication.
Consequences: processes can be used, but advanced features like deploymentAware jobExecutors and embedded forms won't work.
EnableProcessApplication: deployment scan is triggered by existing processes.xml (can be empty). Auto Deployment (s.a) is deactivated. isScanForProcessDefinitions defaults to true so bpmn resources are found and deployed.
Note: issue management has been moved to jira, it is a better solution to discuss general application features in the forum.
from camunda-bpm-spring-boot-starter.
Any news here?
from camunda-bpm-spring-boot-starter.
I will try to setup a (manual) testcase this weekend. imho this should work out of the box, at least when using the SpringBootProcessApplication.
from camunda-bpm-spring-boot-starter.
Always fun when you read about what you promised to do "next weekend" half a year after ...
I'll put it on the milestone.
from camunda-bpm-spring-boot-starter.
It works, but adding an integration test is too much effort for now (docker, shared DB, ....) . just trust me :-)
It requires using the @EnableProcessEngine annotation, it will not work with the spring autoDeployment!
from camunda-bpm-spring-boot-starter.
I can confirm that it works wit @enableprocessengine.
from camunda-bpm-spring-boot-starter.
Are you talking about @EnableProcessApplication?
It will not work when isScanForProcessDefinitions is set to true. Is that what you refer to as "spring autoDeployment"?
from camunda-bpm-spring-boot-starter.
Thx for the super fast reply.
When using @EnableProcessApplication & isScanForProcessDefinitions=true; deployment aware job execution does not seem to work for me (using 2.2.0). When changing to isScanForProcessDefinitions=false and referencing the resources manually it works.
Is that to be expected? If it should work in both cases as long as EnableProcessApplication is used, I can open a Jira issue.
from camunda-bpm-spring-boot-starter.
if you disable the scan, it is not supposed to work, since then no deployments are linked to the processApplication.
Set to true
it should work, if it doesn't, yes, please go ahead and open an issue to verify. Please provide an example, so we can check the use case.
from camunda-bpm-spring-boot-starter.
I investigated a little bit further with a minimal reproducer example and the issue seems not to be about isScanForProcessDefinitions=true/false, but what process definitions get deployed within the deployment bundles. If an exact same copy of a (sub)process gets deployed by two different instances/nodes, all of the processes in both bundles will be executed on both nodes.
Don't know if thats how its supposed to be, but seems rather surprising to me.
Minimal example here, Camunda-Jira-Issue created here.
from camunda-bpm-spring-boot-starter.
I was search for many hours why deployment aware job executors didn't work like expected for me.
The solution was finally a small thing: You need to set the deployment name (e.g. SpringProcessEngineConfiguration.setDeploymentName) otherwise both spring boot applications try to execute the processes of the last deployment.
from camunda-bpm-spring-boot-starter.
Related Issues (20)
- spring boot ee - index.html not found HOT 1
- Make AuthenticationFilter registration configurable HOT 1
- Script Task log output HOT 1
- Readme Examples link leads to 404 HOT 2
- Gradle examples have been removed? HOT 2
- Cannot resolve identifier 'myDelegateName' in 1/3 of my instances everyday.
- Pattern for multiple "process applications"? HOT 2
- The table-perfix property not work. HOT 2
- Spring Boot 2.1.0.RELEASE not supported! required a bean of type 'org.camunda.bpm.engine.ProcessEngine' that could not be found HOT 8
- "invalid date value "+propertyValue HOT 1
- Camunda bpmn with mockbean, not detecting Java class instance HOT 6
- delegate response is slow HOT 2
- Is JDK8 OK? HOT 1
- camunda sql exception!!!
- How can I get extension property through API?
- Intégration camunda HOT 1
- Simple dmn file showing error.. HOT 1
- Camunda webapp css and js dose not load in my spring boot app HOT 5
- camunda-bpm-spring-boot-starter-rest uses commons-io v2.5 with reported CVE Vulnaribilty CVE-2021-29425
- Hosted link does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camunda-bpm-spring-boot-starter.