@StampyLibrary(libraryName="stampy-core") public class MessageHeader extends AbstractBodyMessageHeader
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACK
The Constant ACK.
|
static java.lang.String |
DESTINATION
The Constant DESTINATION.
|
static java.lang.String |
MESSAGE_ID
The Constant MESSAGE_ID.
|
static java.lang.String |
SUBSCRIPTION
The Constant SUBSCRIPTION.
|
CONTENT_TYPECONTENT_LENGTH| Constructor and Description |
|---|
MessageHeader() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAck()
Gets the ack.
|
java.lang.String |
getDestination()
Gets the destination.
|
java.lang.String |
getMessageId()
Gets the message id.
|
java.lang.String |
getSubscription()
Gets the subscription.
|
void |
setAck(java.lang.String ack)
Sets the ack.
|
void |
setDestination(java.lang.String destination)
Sets the destination.
|
void |
setMessageId(java.lang.String messageId)
Sets the message id.
|
void |
setSubscription(java.lang.String subscription)
Sets the subscription.
|
getContentType, setContentTypeaddHeader, equals, getContentLength, getHeaders, getHeaderValue, hashCode, hasHeader, removeHeader, setContentLength, toMessageHeader, toStringpublic static final java.lang.String ACK
public static final java.lang.String SUBSCRIPTION
public static final java.lang.String MESSAGE_ID
public static final java.lang.String DESTINATION
public void setDestination(java.lang.String destination)
destination - the new destinationpublic java.lang.String getDestination()
public void setMessageId(java.lang.String messageId)
messageId - the new message idpublic java.lang.String getMessageId()
public void setSubscription(java.lang.String subscription)
subscription - the new subscriptionpublic java.lang.String getSubscription()
public void setAck(java.lang.String ack)
public java.lang.String getAck()