I can't figure out how to set this up. I can post messages into my MSMQ with no issues, however I cannot figure out how to setup/build a WCF service that is invoked whenever a new queue item appears…
I've got a WCF service with the interface setup thus :
void ReadQueue(TQueueItem myQueueItem);
And the service itself is :
public void ReadQueue(TQueueItem myQueueItem))
Some code in here that processes myQueueItem
myQueueItem is basically a custom class that I attach to my MSMQ message.
I've then got an Application added under the Default Website with netMsmqBinding setup on it. The service itself is configured as per Tom Hollanders blog :
I'm developing using VS2012 on a Windows7 machine. Just trying to get it running locally first.
I've got MSMQ setup on my local machine and have a number of queued messages in the queue I'm hoping my WCF service will process.
I must be missing something somewhere. Does anyone have a walkthrough that shows all the configuration steps? I'm pulling my hair out!