I have a generic messaging system which can pass any type of message around. I have put the type of object in the Message Header so that I know when I receive it what type I need. Is there any way to take the string that contains the name of
the type and use that in the MessageReceived.GetBody<>.
It would be nnice to be able to do that instead of a messy if else checking the string to know message types and then hard coding the Type in the GetBody.
Thanks in advance
View Complete Post