Javadoc
Query a message to see if it has been seen before. Usually it is only possible to know if it has definitely not
been seen before (e.g. through the redelivered flag, which would be used by default). Clients can customize the
retry behaviour for failed messages by implementing this method.