Content Based Routing

Home Page Forums BizTalk 2004 – BizTalk 2010 Content Based Routing

Viewing 1 reply thread
  • Author
    Posts
    • #16000

      Here is my scenario, ( BizTalk 2006)

      I have an orchestration which receives an XML file and doing some transformation. I need to send the transformed file to different clients based on the client Id in themessage. I made the Client ID as a promoted property in the target schema and created/configured  a physical port for each client based on thir transport(File, Ftp, http etc) and assigned filters based on the promoted Client Id. Now from the orchestration I need to send the response to these ports.  I do not think it is a neat way to create a logical port  and send shape for each client  in the orchestration. ( My client lists are huge.. almost 100 now, and can increase in the future)

      But In the orchestration Binding window, I can bind only one logical port to one physical port. Is there a way to bind a single logical port to multiple physical ports and each of it has a filter?  I know Send Port Group is an option, but I am not sure I can perform filter opration inside a port which is added to a send port group. Appreciate any response.

      Thanks in advance,

      Shan.

       

    • #16001

      Configure your orchestration's send port as a direct-bound port, so that it publishes your message to the MessageBox directly and so triggers the subscriptions from any matching sendports. That way you can just add the appropriate filter expression to each sendport and enlist them.

      This should accomplish what you want.

      • #16003

        cool.. this  is exactly what I was looking for.. Works fine.. Thanks tomas

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.