How to use MSMQ in WCF?
- by Jader Dias
I can work with many WCF bindings, except netMsmqBinding. All I get is:
CommunicationObjectFaultedException: "The communication object, System.ServiceModel.ServiceHost, cannot be used for communication because it is in the Faulted state."
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
I tried it in a Windows Server 2008 R2 with the following features installed
Message Queueing
Message Queueing Services
Message Queueing Server
Message Queueing Triggers
HTTP Support
Multicasting Support
Message Queueing DCOM Proxy
I tried also to add manually a private Message Queue in the Server Manager but it didn't work.
The address I am trying to expose is:
net.msmq://localhost/private/MyServiceName