Reputation: 399
I am trying to send MSMQ message using TCP but the message is just stuck in Outgoing queue . Also when I am creating MessageQueue object it does not throws any error but on putting a breakpoint and trying to see the Properties I can see errors like for Authenticate i get error "The specified format name does not support the requested operation. For example, a direct queue format name cannot be deleted.".
The for connection I am using below code.
MessageQueue mq = new MessageQueue("FormatName:DIRECT=TCP:<IP Address>\\PRIVATE$\\TestQueue");
Even the OS format is not working. Please help.
Upvotes: 1
Views: 3195
Reputation: 4687
You are trying to receive messages from a remote queue. This is very different to sending messages to a remote queue. One uses RPC and the other MSMQ.
As you discovered, opening up RPC ports in the firewall is essential.
Understanding how MSMQ security blocks RPC traffic
Upvotes: 0