[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.odbcnet

System.Messaging.Message.ResponseQueue property

Ben Luckham

8/29/2002 11:32:00 AM

We are currently developing a remoting application using the
System.Messaging classes, and hoped to use the Message.ResponseQueue
property to inform the remote receiver of which queue to send replies to.
When this property is set, will it be available on the Message object
received by the remote receiver?

In our tests so far, the ResponseQueue property of the remotely received
Message object is always null, dispite the fact that when sending the
message, this property is set to a non-null value.

MessageQueue inQueue = new MessageQueue(".\InQueue");
MessageQueue outQueue = new MessageQueue(".\OutQueue");

Message msg = new Message();
msg.ResponseQueue = inQueue; // Set the response queue.

// Set the message body, etc...

outQueue.Send(msg);

Any ideas?

Thanks,
Ben.