Implements the messaging system delivering messages with using .Net thread pool.

Namespace: Eneter.Messaging.MessagingSystems.ThreadPoolMessagingSystem
Assembly: 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.

Inheritance Hierarchy

System..::..Object
  Eneter.Messaging.MessagingSystems.ThreadPoolMessagingSystem..::..ThreadPoolMessagingSystemFactory

Version Information

.NET

Supported in: .NET 4.5, .NET 4.0, .NET 3.5

Compact Framework

Supported in: Compact Framework 3.5, Compact Framework 2.0

Mono

Supported in: Mono 2.6.4

Silverlight

Supported in: Silverlight 5, Silverlight 4, Silverlight 3

Windows Phone

Supported in: Windows Phone 7.1, Windows Phone 7

See Also