Interface IMessageChannelAdapter<TMessage>
Defines a contract for adapting message channels to a common interface.
public interface IMessageChannelAdapter<TMessage> : IMessageChannelSender<TMessage>, IMessageChannelReceiver<TMessage>, IMessageChannelAcknowledger<TMessage>, IMessageChannelConnection where TMessage : class
Type Parameters
TMessageThe type of message handled by the adapter.
- Inherited Members
- Extension Methods
Remarks
This composite aggregates the focused send, receive, acknowledge, and connection contracts. Consumers that only need one capability can depend on the narrow interface (IMessageChannelSender<TMessage>, IMessageChannelReceiver<TMessage>, IMessageChannelAcknowledger<TMessage>, or IMessageChannelConnection); implementers of a full adapter continue to implement this aggregate.