Class BrokeredMessageHandlerSelector
A brokered message handler selector.
Inheritance
System.Object
BrokeredMessageHandlerSelector
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Messaging.Distributed.HandlerSelectors
Assembly: Kephas.Messaging.dll
Syntax
[ProcessingPriority(Priority.Low)]
public class BrokeredMessageHandlerSelector : SingleMessageHandlerSelectorBase, IMessageHandlerSelector
Constructors
| Improve this Doc View SourceBrokeredMessageHandlerSelector(IMessageMatchService)
Initializes a new instance of the BrokeredMessageHandlerSelector class.
Declaration
public BrokeredMessageHandlerSelector(IMessageMatchService messageMatchService)
Parameters
Type | Name | Description |
---|---|---|
IMessageMatchService | messageMatchService | The message match service. |
Methods
| Improve this Doc View SourceCanHandle(Type, Type, Object)
Indicates whether the selector can handle the indicated message type.
Declaration
public override bool CanHandle(Type envelopeType, Type messageType, object messageId)
Parameters
Type | Name | Description |
---|---|---|
System.Type | envelopeType | The type of the envelope. This is typically the adapter type, if the message does not implement IMessage. |
System.Type | messageType | The type of the message. |
System.Object | messageId | The ID of the message. |
Returns
Type | Description |
---|---|
System.Boolean | True if the selector can handle the message type, false if not. |