try {
reader = new BufferedReader(new StringReader(stompMessage));
String messageType = reader.readLine();
StompMessageType type = StompMessageType.valueOf(messageType);
List<String> headers = new ArrayList<String>();
String hdr = reader.readLine();
while (StringUtils.isNotEmpty(hdr)) {