开发者

How do I implement a custom message queue listener for WAS activation?

开发者 https://www.devze.com 2023-01-12 18:37 出处:网络
I\'m writing components of a .Net 4.0 web solution (on IIS7, WS2008), and need to provide a service which can consume messages from a message queue. I\'ve found setup examples for configuring WAS serv

I'm writing components of a .Net 4.0 web solution (on IIS7, WS2008), and need to provide a service which can consume messages from a message queue. I've found setup examples for configuring WAS service activation using MSMQ... but we aren't using MSMQ (using RabbitMQ) and I'm pretty sure I'll have to implement some kind of listener of my own.

I guess my problem is the system of configuration settings I'll have to set up is pretty opaque, and documentation is not开发者_C百科 clear.

so A: how do I implement and configure a custom listener for WAS service activation.

and B: any advice for configuring the rest of this setup would be wonderful.

Thanks


better to consume as a windows service whih is a pain. We are using an opensource project called TopShelf hosted by google. Rubbish documentation but it has a feature where is will auto run all DLL files placed in a directory as windows services - make depoyment and upgrade easy.


In the WCF WF Samples there's source for a UDP Activator. Wish there was one for AMQP.

0

精彩评论

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

关注公众号