I am trying to implement a windows service hosted workflow service that polls from a message queue. The message queue is is populated by a separate windows service.
I followed the post below for my hosted workflow as it looked to be close to what I was trying to do.
Following the steps in the post I was able to get my service to work when the message body was a simple string and using the WCFTestClient.
I then changed the code to use a a custom .NET object as the Recieve parameter instead of the string. The class library in which the object is defined was added as a reference. The service that populates my queue uses the custom .NET object as the message
In this scenario, the service would run but only process a message from the queue if it was in the queue before the service started. Any new messages added are ignored and if I add the message after I start the queue it also does not get picked up.
My xamlx is below, followed by my app.config: