Implements the messaging system delivering messages via HTTP.

Namespace: Eneter.Messaging.MessagingSystems.HttpMessagingSystem
Assembly: Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: 5.0.0.0 (5.0.0.0)

Syntax

C#
public class HttpMessagingSystemFactory : IMessagingSystemFactory
Visual Basic
Public Class HttpMessagingSystemFactory _
	Implements IMessagingSystemFactory
Visual C++
public ref class HttpMessagingSystemFactory : IMessagingSystemFactory

Remarks

It creates the communication channels using HTTP for sending and receiving messages. The channel id must be a valid URI address. E.g.: http://127.0.0.1/something/ or https://127.0.0.1/something/.
Because HTTP is request-response based protocol, it does not keep the connection open. Therefore, for the bidirectional communication used by duplex channels, the polling mechanism is used. The duplex output channel regularly polls for response messages and the duplex input channel constantly measures the inactivity time to recognize whether the duplex output channel is still connected.

Notice, to start listening via input channel (or duplex input channel), the application must be executed with sufficient rights. Otherwise the exception will be thrown.
Also notice, Silverlight and Windows Phone 7 do not support listening to HTTP requests. Therefore, only sending of messages (and receiving response messages) is possible in these platforms.

Inheritance Hierarchy

System..::..Object
  Eneter.Messaging.MessagingSystems.HttpMessagingSystem..::..HttpMessagingSystemFactory

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