@Service
    public boolean ackTaskReceived(String taskId) {
        LOGGER.debug("Ack received for task: {}", taskId);
        boolean ackResult;
        try {
            ackResult = executionService.ackTaskReceived(taskId);
        } catch (Exception e) {
            // safe to ignore exception here, since the task will not be processed by the worker due to ack failure
            // The task will eventually be available to be polled again after the unack timeout
            LOGGER.error("Exception when trying to ack task {}", taskId, e);
            ackResult = false;
        }
        return ackResult;
    }
@ Service public boolean ackTaskReceived ( String taskId ) { LOGGER . debug ( "Ack received for task: {}" , taskId ) ; boolean ackResult ; try { ackResult = executionService . ackTaskReceived ( taskId ) ; } catch ( Exception e ) { LOGGER . error ( "Exception when trying to ack task {}" , taskId , e ) ; ackResult = false ; } return ackResult ; }
Ack Task is received.

@param taskId Id of the task
@return `true|false` if task if received or not