code: public static boolean isSpringInternalHeader(String headerName) {
          // "springintegration_" makes Citrus work with Spring Integration 1.x release
          if (headerName.startsWith("springintegration_")) {
              return true;
          } else if (headerName.equals(MessageHeaders.ID)) {
              return true;
          } else if (headerName.equals(MessageHeaders.TIMESTAMP)) {
              return true;
          } else if (headerName.equals(MessageHeaders.REPLY_CHANNEL)) {
              return true;
          } else if (headerName.equals(MessageHeaders.ERROR_CHANNEL)) {
              return true;
          } else if (headerName.equals(MessageHeaders.CONTENT_TYPE)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.PRIORITY)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.CORRELATION_ID)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.ROUTING_SLIP)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.DUPLICATE_MESSAGE)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.SEQUENCE_NUMBER)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.SEQUENCE_SIZE)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.SEQUENCE_DETAILS)) {
              return true;
          } else if (headerName.equals(IntegrationMessageHeaderAccessor.EXPIRATION_DATE)) {
              return true;
          } else if (headerName.startsWith("jms_")) {
              return true;
          }
  
          return false;
      }
docs: Check if given header name belongs to Spring Integration internal headers.
  
  This is given if header name starts with internal header prefix or
  matches one of Spring's internal header names.
  
  @param headerName
  @return