Example #1
0
  public static String getJMSType(Message message) {
    SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);

    if (ss != null) {
      return ss.toString();
    } else {
      return null;
    }
  }
Example #2
0
 public static SimpleString getJMSReplyTo(Message message) {
   return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
 }