Determining Channel

Looking through the Intermediary Router sample, I was trying to figure out how the SoapRouter was called correctly. Specifically, there are 4 different ProcessMessages (e.g. 1 for simplex, duplex, request/reply, etc). Where is the logic that determines which one is actually called. It must be in the pipeline somwhere that I am not seeing.

Thanks for any help,

-Mathew Nolton



Answer this question

Determining Channel

  • Paula D

    nevermind...
  • Willgart

    Good that you figured it out. I am responding so others who have the same question can know how the sample works. The router has different endpoints for the different kinds of contracts it implements - one for each mep it supports. The different endpoints are in the app.config file for the router. Based on what endpoint is picked, the appropriate contract's ProcessMessage is invoked.

  • Determining Channel