Method | Description | |
---|---|---|
AddHandler ( |
Add a handler/message binding
|
|
CountHandlers ( ) : int |
Return count of handlers
|
|
GetMatchingHandlers ( |
List handlers that could process a given message type. More generic handlers will be returned for more specific message types
|
|
HandlerManager ( ISleepWrapper sleeper ) : System |
New dispatcher
|
|
RemoveHandler ( |
remove a handler for all messages
|
|
ShouldRetry ( |
Determines if a Handler is marked for retry of the given exception type
|
|
TryHandle ( IPendingMessage |
Try to fire actions for a message
|
Method | Description | |
---|---|---|
FireHandledOkHooks ( IMessage msg, IEnumerable |
||
FireHandlerFailedHooks ( IMessage msg, IEnumerable |
||
HandleMessageWithInstancesOfHandlers ( IPendingMessage | ||
RetryFailedMessage ( IPendingMessage |
public AddHandler ( |
||
messageType | ||
handlerType | ||
return | void |
public GetMatchingHandlers ( |
||
type | ||
return | IEnumerable |
public HandlerManager ( ISleepWrapper sleeper ) : System | ||
sleeper | ISleepWrapper | |
return | System |
public RemoveHandler ( |
||
handlerType | ||
return | void |
public static ShouldRetry ( |
||
exceptionType | ||
handlerType | ||
return | bool |
public TryHandle ( IPendingMessage | ||
pendingMessage | IPendingMessage | |
return | void |