Allow middleware to control acknowledgement of message.