I create two spring boot projects for testing external task client.
Process Engine Spring Boot Application
- Create a simple bpmn just have one service task, and define it as external.
- Create a controller to create a process instance
External Task Client Spring Boot Application
- Create a Bean Configuration for creating ExternalTaskClient
- Create a controller to call ExternalTaskClient’s stop, start, isActive methods to control ExternalTaskClient running status.
Through calling stop, start. I can manage to stop and start ExternalTaskClient whether to fetch tasks. But when I call isActive() method, it always return true, and ExternalTaskClient begin to fetch tasks.
Is it working as the original design? If I like to stop and start ExternalTaskClient and check what status it is, which method should I call? Thanks for your help.
George