Assigning multicast address to MSMQ-queue

  • Thread starter =?iso-8859-1?Q?J=F6rn_Petersen?=
  • Start date
?

=?iso-8859-1?Q?J=F6rn_Petersen?=

Hello NG!

I've been playing a little with Multiple-Destination
Messaging in MSMQ using multicast addresses.
I'm trying to assign a multicast address to a queue with
C# code (using a MessageQueue object from the
System.Messaging namespace), but so far I didn't succeed.
When using the Computer Management snap-in of the MMC, the
multicast address is just a tab of the queue's properties.
Setting the same MC address on several (private) queues
and sending a message
using "FormatName:MULTICAST=<IPADDR>:<PORT>" works
perfectly, even though I wasn't allowed to set a MC
address for a public queue (got an error that "The
specified directory service attribute or value does not
exist").

But how do I assign the MC address of a queue using C#
code?


Regards,
Jörn
 

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