Implements the messaging system delivering messages via HTTP.
Namespace: Eneter.Messaging.MessagingSystems.HttpMessagingSystemAssembly: 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.
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
Eneter.Messaging.MessagingSystems.HttpMessagingSystem..::..HttpMessagingSystemFactory