Question from the WCF test

How to make a WCF service run in multiple threads?

Expert

You need to modify a WCF service that is defined as follows.

The SubmitOrder method triggers a call to another service. The ProcessMessage method does not work as expected when under heavy load. You need to enable the ability for the service to support concurrent messages.

New messages should only be processed when the ProcessMessage method is not busy with other messages, or when it is waiting for the return of the SubmitOrder method. What attribute do you need to apply to the MessageProcessor class?

Author: InconnuStatus: PublishedQuestion passed 26 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!