WSE2 & Content Based Routing

Posts   
 
    
Devildog74
User
Posts: 719
Joined: 04-Feb-2004
# Posted on: 21-Jul-2005 15:32:08   

I am looking at building a simple message routing solution using WSE2 and WS Addressing. The idea is that the primary end point will use a simple hash table to determine then next hop / endpoint in the request chain, and forward the original request to the next endpoint. Since the service is a http request / response, the reply will also use the same logic. I was planning on inspecting the contents of the original message to determine which endpoint is the next hop in the chain.

I was wondering if anyone has tried this technique and how far off base my thoughts are. Also, if anyone knows of any samples floating around out there I would really appreciate a heads up. I tried google, but my keywords might not have been quite right to get the result that I was looking for.

Devildog74
User
Posts: 719
Joined: 04-Feb-2004
# Posted on: 24-Jul-2005 14:47:19   

For those of you who might be curious at some point in the future, the WSE2 SP3 docs have a good sample.

You can set up next hop routes by creating an object that derives from Microsoft.Web.Services2.Messaging.SoapHttpRouter