I try to run a process definition containing Camel task into the application Flowable Task. As mentioned in issue #1322, Flowable Task does not support Camel tasks.
Because of version compatibility between SpringBoot, Flowable and Camel, it is not possible to add this support in Flowable Task 6.3.1. So, I’m trying to add it to Flowable Task 6.4.0-SNAPSHOT. I have added the following dependencies to the project
flowable-ui-task-app, built it and redeployed it in my Tomcat instance:
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring-boot-starter</artifactId> <version>2.22.0</version> </dependency> <dependency> <groupId>org.flowable</groupId> <artifactId>flowable-camel</artifactId> </dependency>
My process definition containing Camel task is the one of the Flowable BPMN user guide. I deployed it successfully.
When I started a process instance, I have got an error about the Camel endpoint
flowable://SimpleCamelCallProcess:simpleCall not defined. Normal because the Camel route was not deployed into the BPMN engine.
So I have packaged the Camel route (as a Java class) into a JAR file and put it in
flowable-task/WEB-INF/lib directory in my Flowable Tomcat. And I restarted my Tomcat instance.
When I try to start a new process instance, I get the same error: Camel route not found.
Do you know how Camel route must be deployed ?
Thanks for your help,