Interface IMessageBusAdapterCapabilities
Provides capability metadata for a message bus adapter.
public interface IMessageBusAdapterCapabilities
- Extension Methods
Remarks
This interface separates capability discovery from core messaging operations defined in IMessageBusAdapter. Infrastructure code that needs to query adapter capabilities (e.g., routing decisions, multi-transport aggregation) can resolve this interface.
Consumers that only need to publish or subscribe to messages can depend on IMessageBusAdapter alone without coupling to capability metadata.
Properties
SupportsPublishing
Gets a value indicating whether this adapter supports message publishing.
bool SupportsPublishing { get; }
Property Value
- bool
True if the adapter can publish messages; otherwise, false.
SupportsSubscription
Gets a value indicating whether this adapter supports message subscription and consumption.
bool SupportsSubscription { get; }
Property Value
- bool
True if the adapter can subscribe to and consume messages; otherwise, false.
SupportsTransactions
Gets a value indicating whether this adapter supports transactional message operations.
bool SupportsTransactions { get; }
Property Value
- bool
True if the adapter supports transactions; otherwise, false.