Interface AsyncJobMessageHandler


public interface AsyncJobMessageHandler
Experimental. An implementation of this interface needs to be injected into an AsyncJobMessageReceiver instance. The helper will receive the information from a message and the implementation of this class should execute the actual logic.
Author:
Joram Barrez
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Handle the job and its data.
  • Method Details

    • handleJob

      boolean handleJob(JobEntity job)
      Handle the job and its data. Returning true will delete the job. Returning false will unacquire the job and decrement the retries.