HDR - the generic type@StampyLibrary(libraryName="stampy-core") public interface StampyMessage<HDR extends StampyMessageHeader> extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
HDR |
getHeader()
Gets the header.
|
StompMessageType |
getMessageType()
Gets the message type.
|
java.lang.String |
toStompMessage(boolean validate)
Returns a STOMP-string representation of a
StampyMessage. |
void |
validate()
Performs validation on the message.
|
HDR getHeader()
java.lang.String toStompMessage(boolean validate)
StampyMessage.validate - if true message validation is executedStompMessageType getMessageType()
void validate()