Interface AsyncHistoryJobMessageHandler


public interface AsyncHistoryJobMessageHandler
An implementation of this interface needs to be injected into an AsyncHistoryJobMessageReceiver 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
    handleJob(HistoryJobEntity historyJobEntity, com.fasterxml.jackson.databind.JsonNode historyData)
    Handle the job and its data.
  • Method Details

    • handleJob

      boolean handleJob(HistoryJobEntity historyJobEntity, com.fasterxml.jackson.databind.JsonNode historyData)
      Handle the job and its data. Returning true will delete the job. Returning false will unacquire the job and decrement the retries.