msmqintegrationbinding

Is it possible to have a generic WCF service for handling multiple MSMQ endpoints?

让人想犯罪 __ 提交于 2020-01-07 03:06:35
问题 Our team is building a service for processing messages from multiple remote MSMQ queues using WCF (via msmqIntegrationBinding). We would like to have the ability to throttle different groups of queues (via serviceThrottling) based on the amount of resources they typically consume. My idea is to have a single service type processing messages from multiple queues and determining what to do with them based on the type of message. Unfortunately, I can't figure out a generic way to use MsmqMessage

MSMQ, Message is put on queue and disapears but is never picked up by service contract

自作多情 提交于 2019-12-12 19:19:35
问题 I have a local private queue. I also have a WCF-service inside an MVC-application that listens to the queue using msmqIntegrationBinding. The problem is that the service contract is never invoked when a message is queued but the message disapears the moment after. The message is not in the poison queue. Here is the config-part where i declare the binding to the queue: <services> <service name="SkruvInfo.Web.Service.QueueMessageReceiver"> <endpoint address="msmq.formatname:DIRECT=OS:LEIA