title: Custom Pipeline
body: <p>Is it possible to stop a receive pipeline from publishing a message to messagebox.</p>
  
  <p>I've developed a pipeline component to check validity of the input message. I want to add code to stop the message getting published to messagebox if validation fails.</p>
  
  <p>Simply to say if the input file fails the validation it should not invoke any orchestration or sendport. Also I've to send a mail publishing the details of the error from receive pipeline.</p>
  
  <p>Thanks.</p>