public class AcknowledgeMessage extends AsyncMessage
AcknowledgmentMessage
- An AcknowledgeMessage acknowledges
the receipt of a message that was sent previously.
Every message sent within the messaging system must receive an acknowledgement.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_HINT_HEADER
ERROR_HINT_HEADER - "DSErrorHint" :
header name for the error hint header. |
correlationId, SUBTOPIC_HEADER
body, clientId, destination, DESTINATION_CLIENT_ID_HEADER, ENDPOINT_HEADER, FLEX_CLIENT_ID_HEADER, headers, messageId, PRIORITY_HEADER, REMOTE_CREDENTIALS_CHARSET_HEADER, REMOTE_CREDENTIALS_HEADER, REQUEST_TIMEOUT_HEADER, STATUS_CODE_HEADER, timestamp, timeToLive
Constructor and Description |
---|
AcknowledgeMessage()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
createUUID, readFlags
public static final java.lang.String ERROR_HINT_HEADER
ERROR_HINT_HEADER
- "DSErrorHint" :
header name for the error hint header.public void readExternal(java.io.ObjectInput in) throws java.lang.ClassNotFoundException, java.io.IOException
readExternal
in interface java.io.Externalizable
readExternal
in class AsyncMessage
java.lang.ClassNotFoundException
java.io.IOException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class AsyncMessage
java.io.IOException