Releases: flowable/flowable-external-client-java
Releases · flowable/flowable-external-client-java
1.0.0
First release of the Flowable External Worker Client.
Spring Boot Sample
<dependency>
<groupId>org.flowable.client.spring</groupId>
<artifactId>flowable-external-worker-spring-boot-starter</artifactId>
<version>${flowable-worker-client.version}</version>
</dependency>
Retrieve jobs from the myTopic
topic
import org.springframework.stereotype.Component;
import org.flowable.external.client.AcquiredExternalWorkerJob;
import org.flowable.external.worker.annotation.FlowableWorker;
@Component
public class ExampleWorker {
@FlowableWorker(topic = "myTopic")
public void processJob(AcquiredExternalWorkerJob job) {
System.out.println("Executed job: " + job.getId());
}
}