I am analyzing a BizTalk application (aka orchestration) that is communicating with a WCF service by MSMQ. I was wondering why one of the WCF service implementations has a MsmqMessage as a parameter in the service method. I was expecting a contract type T instead of a MsmqMessage.
This is not really binding agnostic, because the WCF service method holds a specific MSMQ type.
Is this really neccessary to have a MsmqMessage binding type when communicating from a BizTalk app to a WCF MSMQ service ?
This is the current code:
public void SaveDocumentASync(MsmqMessage<MyDocument> msg)
{
}
I want this:
public void SaveDocumentASync(MyDocument msg)
{
}