code: public static Event withBody(Object body, Map<String, String> headers) {
      Event event = new SimpleEvent(body);
  
  //    if (body == null) {
  //      body = null;
  //    }
  //    event.setBody(body);
  
      if (headers != null) {
        event.setHeaders(new HashMap<String, String>(headers));
      }
  
      return event;
    }
docs: Instantiate an Event instance based on the provided body and headers.
  If <code>headers</code> is <code>null</code>, then it is ignored.
  @param body
  @param headers
  @return