开发者

NServiceBus - How do I call NSB via web service but asynchronously

I want to achieve something similar to the webservice bridge sample but i don't want to wait for a response from the webservice. I want the call to be asynchronous. What is the best way to do this?

Should I just use the webservice bridge and call ProcessAsync as opposed to Process? or Should I not use the webservi开发者_开发问答ce bridge and just create a webmethod that calls Global.Bus.Send?

Thanks in advance


If you expose your NServiceBus endpoint using the built-in WebService functionality, then you'd do this like you call any web service asynchronously. The webservice bridge sample shows how you can set up your own web service rather than using the built-in functionality.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜