Class MessageMD5ChecksumInterceptor

  • All Implemented Interfaces:
    ExecutionInterceptor

    public final class MessageMD5ChecksumInterceptor
    extends Object
    implements ExecutionInterceptor
    SQS operations on sending and receiving messages will return the MD5 digest of the message body. This custom request handler will verify that the message is correctly received by SQS, by comparing the returned MD5 with the calculation according to the original request.