* @see asia.stampy.common.message.AbstractMessage#validate()
*/
@Override
public void validate() {
if (StringUtils.isEmpty(getHeader().getDestination())) {
throw new InvalidStompMessageException(MessageHeader.DESTINATION + " is required");
}
if (StringUtils.isEmpty(getHeader().getMessageId())) {
throw new InvalidStompMessageException(MessageHeader.MESSAGE_ID + " is required");
}
if (StringUtils.isEmpty(getHeader().getSubscription())) {
throw new InvalidStompMessageException(MessageHeader.SUBSCRIPTION + " is required");
}
}