code: protected static Serializable deserialize(String serialized) throws JMSException {
          if (serialized == null) {
              return null;
          }
          Serializable deserializedObject;
          ObjectInputStream objectInputStream = null;
          try {
              byte[] bytes = Base64.decode(serialized);
              objectInputStream = new ObjectInputStream(new ByteArrayInputStream(bytes));
              deserializedObject = (Serializable) objectInputStream.readObject();
          } catch (IOException e) {
              LOG.error("IOException: Message cannot be written", e);
              throw convertExceptionToMessageFormatException(e);
          } catch (Exception e) {
              LOG.error("Unexpected exception: ", e);
              throw convertExceptionToMessageFormatException(e);
          } finally {
              if (objectInputStream != null) {
                  try {
                      objectInputStream.close();
                  } catch (IOException e) {
                      LOG.warn(e.getMessage());
                  }
              }
          }
          return deserializedObject;
      }
docs: Deserialize the <code>String</code> into <code>Serializable</code>
  object.