MSMQ (2-way) - ServicedComponent

A more architectural question:

I want to build a service that receives messages on one queue processes them and sends out a response message with a correlationId set to another queue.

Now I like COM+ components and thinking of queues a server activated component listening on queues seems to be an option. But there are a few issues:

- can the retry be deactivated or the retry interval be shortened to a very short time as this is supposed to be a two way communication over MSMQ the answer must be send in a considerable amount of time.

- will the message id of the original message be still available somehow and somewhere after a retry, so that it can be used as a correltationId As on a failure the message is requeued in another queue this information might be modified or lost.

OR

would it be in a scenario like this probably better to simple write an own plain windows service that is listening on the queue und acts on messages as desired



Answer this question

MSMQ (2-way) - ServicedComponent