Class CalledMethodResolver
- Namespace
- CarrotMQ.Core.MessageProcessing
- Assembly
- CarrotMQ.Core.dll
Provides methods for building "called method keys" used to determine which handler processes the message
public static class CalledMethodResolver
- Inheritance
-
CalledMethodResolver
- Inherited Members
Methods
BuildCalledMethodKey(Type)
Builds a called method handler key based on the type of the message
public static string BuildCalledMethodKey(Type type)
Parameters
typeTypeThe type of the message
Returns
- string
The handler key.
BuildResponseCalledMethodKey(string)
Builds a called method key for a response message based on the key of the request message
public static string BuildResponseCalledMethodKey(string requestKey)
Parameters
requestKeystringThe request key for which to build the response key.
Returns
- string
The response key built from the specified request key.
BuildResponseCalledMethodKey(Type)
Builds a called method handler key for a response message based on the type of the request message
public static string BuildResponseCalledMethodKey(Type type)
Parameters
typeTypeThe type the request message
Returns
- string
The response called method handler key.