I have a WCF router sending messages to a private msmq using netMsmqBinding. I have another WCF service listening for messages on that queue. When the security mode is set to "None" i am able to send messages to the queue and also receive messages from the queue without any issues. When i try and use the "Message" security mode, i am able to send messages to the queue, but i can not receive the messages from the queue, my receive service does not get called. Any ideas what would be causing this issue? Here is my config file for the service listening for messages...
<configuration>
<system.serviceModel>
<services>
<service name="MyService" behaviorConfiguration="ServiceBehavior">
<host>
<baseAddresses>
<add baseAddress="http://localhost:8000/MyService" />
</baseAddresses>
</host>
<endpoint name="NET.MSMQ_1"
address="net.msmq://localhost/private/TestQueue1"
binding="netMsmqBinding" bindingConfiguration="Binding"
contract="MyContract" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior">
<serviceMetadata httpGetEnabled="True" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<netMsmqBinding>
<binding name="Binding">
<security mode="Message"/>
</binding>
</netMsmqBinding>
</bindings>
</system.serviceModel>
</configuration>