I am using the new .Net 4.0 RouterService and have a requirement for the router to log the messages going back and forth. I need to do this by accessing the actual message being routed.
How do I implement a MessageInspector on the Router programatically? Or is there some alternative to using a MessageInspector?
Found the answer:
Then hookup to the router endpoint like so: