code: public String getType() {
          Object type = getHeader(JmsMessageHeaders.TYPE);
  
          if (type != null) {
              return type.toString();
          }
  
          return null;
      }
docs: Gets the JMS type header.
  @return