@Override
  public void dispose() {
    try {
      in.close();
    } catch (IOException e1) {
      // ignore on dispose
    }
    LifecycleUtil.dispose(in);

    try {
      message.clearBody();
    } catch (JMSException e) {
      // ignore on dispose
    }
    try {
      message.clearProperties();
    } catch (JMSException e) {
      // ignore on dispose
    }
    content = null;
  }
 @Override
 public InputStream getInputStream() throws IOException {
   return in.newStream(0, -1);
 }