Activate IIS Hosted Workflow With MSMQ Using net.msmq Binding

1.8k views Asked by At

I have successfully implemented a standard WCF service bound to MSMQ using the net.msmq binding. I followed the instructions in a series of MSDN articles that are referenced through here: http://msdn.microsoft.com/en-us/library/ms751490.aspx

The issue now is that I would like to use the WCF net.msmq binding to activate a WF4 service. This has turned into a major frustration. As soon as I deploy the workflow to IIS, the message box is drained of all messages. However, no instances of the workflow are activated, and I do not see any trace information for WCF calls (I have troubleshooting log (trace) level configured in AppFabric).

In terms of troubleshooting / verification: I have configured and verified that WAS is configured, net.msmq binding is installed for the site, and net.msmq is enabled for the application. Furthermore, the Net.MSQM Listener service is running.

I have not had much luck when Binging / Googling the issue. There are similar questions online, but the answers are incomplete and the questions aren't related to IIS (w/ WAS) hosting. Any help or suggestions you can provide would be greatly appreciated. I've included my full demo solution for anyone that is curious in seeing what is done thus far: http://www.bloggedbychris.com/wp-content/uploads/2012/01/ProofOfConcept.WfConvoy.zip

2

There are 2 answers

1
THX-1138 On BEST ANSWER
0
JCS On

Microsoft Server AppFabric makes this easy. You simply have to set the "Auto-Start" property and voilá!

More information can be found here.