title: Trying To Capture a message into a text or xml file before it goes through orchestration
body: <p>I'm troubleshooting an issue wherein two XML elements are missing in the outgoing message. </p>
  
  <p>I have the following relatively simple Orchestration: </p>
  
  <pre><code>Receive Port  -&gt; Orchestration -&gt; Send Port (IBM MQ)
  </code></pre>
  
  <p>I want to inspect the message before it goes through the orchestration, to see if the incoming message is a problem. To do this, I created an additional Send Port, with <code>FILE</code> type transport (I call it <code>DefectTroubleshootingSendPort</code>), and <code>PassThruTransmit</code> for Send Pipeline. </p>
  
  <p>The URI for this port is : 
  <code>C:\temp\Defect986\%MessageID%.xml</code></p>
  
  <p>I set the Filter for this Send Port as </p>
  
  <p><code>BTS.ReceivePortName == "OrderManagement.MembershipActivityExport.ReceivePort"</code></p>
  
  <p>I added this new port and the original MQ Send Port to a Send port Group and bound this group to the Outbound Logical Port of the Orchestration. </p>
  
  <p>Even after this, I don't see the temp file getting written at all. The message however goes to the MQ. </p>
  
  <p>Am I doing this right, or is there any better way to capture the incoming message? Do I even need a filter here? </p>