SimpleMessageFunctionAccessor
A simple message function accessor for functions without injectable parameters.
This accessor handles functions that only need the primary message parameter and don't require dependency injection for additional parameters.
Parameters
The processor type
The message exchange type
The return type
Properties
The name of the bounded context, obtained from the metadata.
The kind of the function (e.g., command, event), obtained from the metadata.
The function metadata
The name of the processor, obtained from the metadata.
The fully qualified name of the function, formatted as "processorName.functionName(supportedTypeSimpleName)". This provides a unique identifier for the function.
The set of supported topics, obtained from the metadata.
The supported message body type, obtained from the metadata.
Functions
Retrieves an annotation from the function's accessor using reflection.
Gets the context alias prefix for this bounded context.
Checks if a function matches the criteria specified by this NamedFunctionInfo. Used to determine if a wait strategy should be notified about a specific function execution. Returns true if all specified criteria (context, processor, name) match or are not specified.
Checks if the given message is supported by this function. A message is supported if its body is an instance of the supported type and its aggregate matches one of the supported topics.