NServiceBus is blocking when hosted in ASP.NET web application
Posted
by Dale Niemeyer
on Stack Overflow
See other posts from Stack Overflow
or by Dale Niemeyer
Published on 2010-03-31T19:58:36Z
Indexed on
2010/03/31
20:03 UTC
Read the original article
Hit count: 341
nservicebus
Hello,
I created a simple web application where a search form is filled out, submit button clicked, and a message is sent with the search parameters via nServiceBus. I also have a handler in the same project that picks up the message (from the same queue). For some reason, the web server process blocks until after the message is picked up, is there any reason for this? I set a breakpoint in the message handler and it breaks before the request finishes... locking the browser until I allow the code to continue. I would expect control to return to the browser regardless of when the handler gets fired...
Thanks, D.Niemeyer
© Stack Overflow or respective owner