Implements the messaging system delivering messages with using .Net thread pool.
Namespace: Eneter.Messaging.MessagingSystems.ThreadPoolMessagingSystemAssembly: Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
| C# |
|---|
public class ThreadPoolMessagingSystemFactory : IMessagingSystemFactory |
| Visual Basic |
|---|
Public Class ThreadPoolMessagingSystemFactory _ Implements IMessagingSystemFactory |
| Visual C++ |
|---|
public ref class ThreadPoolMessagingSystemFactory : IMessagingSystemFactory |
Remarks
The messages are put to the queue of .Net thread pool. The receiving input channel is then called
in the context of the assigned thread from the pool. Therefore the input channel can process more messages at once
and also can notify the subscriber from more different threads at the same time.
Therefore do not forget to be careful and avoid race conditioning.
Therefore do not forget to be careful and avoid race conditioning.
Inheritance Hierarchy
System..::..Object
Eneter.Messaging.MessagingSystems.ThreadPoolMessagingSystem..::..ThreadPoolMessagingSystemFactory
Eneter.Messaging.MessagingSystems.ThreadPoolMessagingSystem..::..ThreadPoolMessagingSystemFactory