Can you send messages using MSMQ to a machine not in the same domain?

  • Thread starter Water Cooler v2
  • Start date
W

Water Cooler v2

I haven't read enough about or used MSMQ till now. For many years now,
I've only known that they exist. So, forgive me if my question
indicates lack of rudimentary knowledge on the subject.

If I have to send a message from machine A to machine B, but they are
not on the same network, is it possible to use MSMQ as the message
delivery mechanism?

I believe public queues in MSMQ can only send messages between
machines that may be geographically far off from each other, but are
on the same domain.
 
S

sloan

You would be better served writing a "IsOneWay" WCF method/service.

WCF includes a host of security models.

I strongly suggest Juval Lowy's book on "Programming WCF Services".
 
J

John Breakwell

HI Water

I assume you mean "not in the same forest".
Machines not in the same domain but in the same forest won't have any
problems.
There are, though, security considerations for forest-to-forest
communication:
http://blogs.msdn.com/johnbreakwell...enticating-msmq-messages-between-forests.aspx
http://blogs.msdn.com/johnbreakwell...ross-forest-msmq-you-need-to-be-trusting.aspx

"Public queues" are different from "Private queues" in that *information*
about the queue is stored in Active Directory. Using DIRECT Formatname
addressing (instead of pathname), you can send messages between any two
machines located anywhere as long as there is a network connection between
the two. The type of queue (private or public) is unimportant in most cases.

Cheers
John Breakwell (MSFT)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top