News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
[ServiceContract]
public interface IMessageProcessor
{
[OperationContract]
void ProcessMessages();
public class MessageProcessor: IMessageProcessor
{
public void ProcessMessage();
SubmitOrder();
}
}

SubmitOrder makes a call to another service. The ProcessMessage method does not perform as expected under a heavy load. You need to enable processing of multiple messages. New messages must only be processed when the ProcessMessage method is not processing requests, or when it is waiting for calls to SubmitOrder to return. Which attribute should you apply to the MessageProcessor class?

  1. CallbackBehavior (ConcurrencyMode=ConcurencyMode.Reentrant)
  2. CallbackBehavior (ConcurrencyMode=ConcurrencyMode.Multiple)
  3. ServiceBehavior (ConcurrencyMode=ConcurrencyMode.Reentrant)
  4. ServiceBehavior (ConcurrencyMode=ConcurrencyMode.Multiple)
Answer: Answer is c
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;