introduce ADS and MSF processes API support

check outputStream != null