Hi Eddie >> you don't know how to receive a message asynchronously from a responsequeue. >> If this is your problem, keep in mind that response queues are justregular >> queues that are user created. You would retrieve the response withBeginPeek >> and BeginReceive. If you need sample code, I can help you withthat; Could you please email some sample code. I am just lost with how to handle this and am struggling finding good sample code. If you have something using BeginPeek and BeginReceive then I would really appreciate it. Thanks for your time [EMAIL PROTECTED]
> Date: Thu, 27 Jul 2006 13:01:51 -0400> From: [EMAIL PROTECTED]> Subject: Re: > [ADVANCED-DOTNET] MSMQ Return Messages> To: > [email protected]> > When you send the message, you set up > the response queue and later on the> sender side can try to receive the > response asynchronously. I am not sure> what your problem is. From what I > understand, it could be one of the> following:> > - you don't know how to get > responses back. If this is your problem, you> need to set the > Message.ResponseQueue property of your original message and> use it on the > receiving side to send the response;> - you don't know how to receive a > message asynchronously from a response> queue. If this is your problem, keep > in mind that response queues are just> regular queues that are user created. > You would retrieve the response with> BeginPeek and BeginReceive. If you need > sample code, I can help you with> that;> > Could you give us more details on > what are you trying to achieve?> > Regards,> Eddie> > > -----Original > Message-----> From: Discussion of advanced .NET topics.> [mailto:[EMAIL > PROTECTED] Behalf Of Paul Cowan> Sent: Thursday, July 27, 2006 12:52 PM> To: > [email protected]> Subject: [ADVANCED-DOTNET] MSMQ Return > Messages> > > Hi,> > I am writing a component that interacts with MSMQ. The > problem with this> application is that we send messages and receive messages > via MSMQ, that is> the message will have a response. I want to do this > asynchronously. I> know I can marry up messages using the CorrelationId but > am really unsure of> how to go about handling these messages in an async > fashion. I have never> used MSMQ in this way to get responses from.> Has > anybody been through this headache with some good advice? We will be> > calling the MSMQ from a web app. in .NET 2.0. I am thinking of using Async> > pages but would like advise on how to fail gracefully if the MSMQ does not> > return in time.> Thanks a [EMAIL PROTECTED]> > > Date: Thu, 27 Jul 2006 > 12:23:29 -0400> From: [EMAIL PROTECTED]> Subject:> [ADVANCED-DOTNET] MSMQ > Routing - setting up sites and routing links> To:> > [email protected]> > Hello Experts,> > Does anyone here> > know where to find a good resource on how to set up Message> Queue Network?> > I am struggling with setting up sites and routing links and> my sys admins> > are not able to help me much on that.> > Any help will be much appreciated.>> > > Regards,> Eddie> > ===================================> This list is> > hosted by DevelopMentor® http://www.develop.com> > View archives and manage> > your subscription(s) at http://discuss.develop.com> > ===================================> This list is hosted by DevelopMentor® > http://www.develop.com> > View archives and manage your subscription(s) at > http://discuss.develop.com> > ===================================> This list > is hosted by DevelopMentor® http://www.develop.com> > View archives and > manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
