title: In Spring XD, How can be failing a Stream automatically when any Exceptions thrown inside Module
body: <p>In Spring XD , I am running a stream with multiple modules as shown below</p>
  
  <p>XD> Stream create MainStream --definition "Kafka-Source | processor-module1 | processor-module2| module-sink" --deploy</p>
  
  <p>I am throwing runtimeException() in module2 code of above pipeline and expecting to fail the stream after throwing exception but Stream is not failing.
  I tried checking stream list command its showing stream status as "<strong>deployed</strong>".</p>
  
  <p>Can anyone help me how to fail a stream on runtime if any exceptions occurred in any one of the modules ?  </p>