code: public void writeObject(Object value) throws UnsupportedEncodingException {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "writeObject", value);
      getBodyList().add(value);
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "writeObject");
    }
docs: /*
  Write a Java object value into the payload Stream.
  <p>
  Note that this method only works for the objectified primitive
  object types (Integer, Double, Long ...), String's and byte arrays.
  
  Javadoc description supplied by JsJmsMessage interface.