code: private void readObject(ObjectInputStream in)
          throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          if (null != params) {
              this.serializer = params.getDefaultSerializer();
          }
      }
docs: Set the serializer for this message when deserialized by Java.