class PayloadStreamInputParameter implements DataInputParameter<InputStream> {

  @Override
  public InputStream extract(InterlokMessage message) throws InterlokException {
    InputStream result = null;
    try {
      result = message.getInputStream();
    } catch (IOException e) {
      throw ExceptionHelper.wrapCoreException(e);
    }
    return result;
  }

  public  PayloadStreamInputParameter();

}