예제 #1
0
  public static byte[] getJMSCorrelationIDAsBytes(Message message) {
    Object obj = message.getObjectProperty(CORRELATIONID_HEADER_NAME);

    if (obj instanceof byte[]) {
      return (byte[]) obj;
    } else {
      return null;
    }
  }