title: Biztalk Send Port Group and Filtering
body: <p>So the model I need for my solution is as follows:</p>
  
  <p>I need to poll the database and based on a result, create a request to the database for more data, get the response and pass it to a group of ports, for which based on a promoted property, only one of the ports will act.</p>
  
  <p>It looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/XUZt2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XUZt2.jpg" width="620"></a>
  </p>
  
  <p>However, if you assign "Temp Out" to a send port group, the message is sent to all the ports in the group, irregardless of the filters set on each port.  From my understanding, this is expected behavior (read <a href="http://www.biztalkgurus.com/forums/t/2236.aspx" rel="nofollow noreferrer">here</a>).</p>
  
  <p>So I explored other options such as using Content Based Routing (CBR sample) like in the SDK. You can view this <a href="http://msdn.microsoft.com/en-us/library/ms948408.aspx" rel="nofollow noreferrer">here</a>. </p>
  
  <p>I tried this and completely removed the orchestration (its really not needed).  However, there are major routing/subscription errors, and upon further research, it appears that you can't do this if you have solicit-response ports.  Some articles on that <a href="http://www.tech-archive.net/Archive/BizTalk/microsoft.public.biztalk.general/2006-02/msg00178.html" rel="nofollow noreferrer">here</a>.   I pretty much have the same issue <a href="http://www.biztalkgurus.com/forums/t/5016.aspx" rel="nofollow noreferrer">this</a> user does.</p>
  
  <p>In the end it doesn't matter to me whether I use an orchestration or not.  However, I need a solution in which I can pass the message to multiple send ports, and I can have only one actually use the message and send.  This is needed so that I can edit and add ports easily without having to modify anything else or hard code decisions into the orchestration.</p>