Creates the duplex output channel sending messages to the duplex input channel and receiving response messages by using the 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 IDuplexOutputChannel CreateDuplexOutputChannel( string channelId ) |
| Visual Basic |
|---|
Public Function CreateDuplexOutputChannel ( _ channelId As String _ ) As IDuplexOutputChannel |
| Visual C++ |
|---|
public: virtual IDuplexOutputChannel^ CreateDuplexOutputChannel( String^ channelId ) sealed |
Parameters
- channelId
- Type: System..::..String
Identifies the receiving duplex input channel.
Return Value
duplex output channelImplements
IMessagingSystemFactory..::..CreateDuplexOutputChannel(String)
Remarks
The duplex output channel is intended for the bidirectional communication.
Therefore, it can send messages to the duplex input channel and receive response messages.
The duplex input channel distinguishes duplex output channels according to the response receiver id. This method generates the unique response receiver id automatically.
The duplex output channel can communicate only with the duplex input channel and not with the input channel.
The duplex input channel distinguishes duplex output channels according to the response receiver id. This method generates the unique response receiver id automatically.
The duplex output channel can communicate only with the duplex input channel and not with the input channel.