When receiving a message, and when auto-acknowledgement is disabled, this method is used to acknowledge
the incoming message as {@code modified}.
@param didItFail pass {@code true} to increase the failed delivery count
@param wasItDeliveredHere pass {@code true} to prevent the re-delivery of the message
@return the current {@link AmqpMessage} object
@throws IllegalStateException is the current message is not a received message.
When receiving a message, and when auto-acknowledgement is disabled, this method is used to acknowledge the incoming message as {@code modified}.
@param didItFail pass {@code true} to increase the failed delivery count @param wasItDeliveredHere pass {@code true} to prevent the re-delivery of the message @return the current {@link AmqpMessage} object @throws IllegalStateException is the current message is not a received message.