public final class

SendMessageBatchResultEntry

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.modules.sqs.model.SendMessageBatchResultEntry

Class Overview

Encloses a message ID for successfully enqueued message of a SendMessageBatch.

Summary

Constants
long serialVersionUID
Fields
private final String id An identifier for the message in this batch.
private final String mD5OfMessageAttributes An MD5 digest of the non-URL-encoded message attribute string.
private final String mD5OfMessageBody An MD5 digest of the non-URL-encoded message body string.
private final String messageId An identifier for the message.
Public Constructors
SendMessageBatchResultEntry(String id, String messageId, String mD5OfMessageBody, String mD5OfMessageAttributes)
Public Methods
final boolean equals(Object o)
String getId()
An identifier for the message in this batch.
String getMD5OfMessageAttributes()
An MD5 digest of the non-URL-encoded message attribute string.
String getMD5OfMessageBody()
An MD5 digest of the non-URL-encoded message body string.
String getMessageId()
An identifier for the message.
final int hashCode()
String toString()
Returns a string representation of this object; useful for testing and debugging.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 5924961652655080391 (0x5239b13b365143c7)

Fields

private final String id

An identifier for the message in this batch.

private final String mD5OfMessageAttributes

An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

private final String mD5OfMessageBody

An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

private final String messageId

An identifier for the message.

Public Constructors

public SendMessageBatchResultEntry (String id, String messageId, String mD5OfMessageBody, String mD5OfMessageAttributes)

Parameters
id
messageId
mD5OfMessageBody
mD5OfMessageAttributes

Public Methods

public final boolean equals (Object o)

Parameters
o

public String getId ()

An identifier for the message in this batch.

Returns
  • An identifier for the message in this batch.

public String getMD5OfMessageAttributes ()

An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

Returns
  • An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

public String getMD5OfMessageBody ()

An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

Returns
  • An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

public String getMessageId ()

An identifier for the message.

Returns
  • An identifier for the message.

public final int hashCode ()

public String toString ()

Returns a string representation of this object; useful for testing and debugging.

Returns
  • A string representation of this object.
See Also