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 Detail

      • 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.