Class AsyncJobMessageReceiver

java.lang.Object
org.flowable.job.service.impl.asyncexecutor.message.AsyncJobMessageReceiver

public class AsyncJobMessageReceiver extends Object
Experimental. Helper class to be used in a setup of async jobs handling where the job is inserted in the same database transaction as the runtime data in combination with sending message to a message queue. Use a subclass of AbstractMessageBasedJobManager to send the message, this class, with the proper handler instance set, will take care of handling it on the receiving side. This class contains the boilerplate logic that is needed to fetch the job data and delete the job in case of a successful processing.
Author:
Joram Barrez