Interface AsyncHistoryJobMessageHandler
-
public interface AsyncHistoryJobMessageHandlerAn implementation of this interface needs to be injected into anAsyncHistoryJobMessageReceiverinstance. 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhandleJob(HistoryJobEntity historyJobEntity, com.fasterxml.jackson.databind.JsonNode historyData)Handle the job and its data.
-
-
-
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.
-
-