ProcessorMetadata
data class ProcessorMetadata<P : Any, in M : MessageExchange<*, *>>(namedBoundedContext: NamedBoundedContext, val name: String, val processorType: Class<P>, val functionRegistry: Set<FunctionAccessorMetadata<P, Mono<*>>>) : NamedBoundedContext, Named, Metadata
Metadata describing a message processor and its functions.
Contains information about the processor class, its bounded context, and the registry of functions it provides.
Parameters
P
The processor type
M
The message exchange type
Constructors
Link copied to clipboard
constructor(namedBoundedContext: NamedBoundedContext, name: String, processorType: Class<P>, functionRegistry: Set<FunctionAccessorMetadata<P, Mono<*>>>)
Properties
Functions
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
Gets the context alias prefix for this bounded context.
Link copied to clipboard
Link copied to clipboard
Converts the function metadata registry to actual message functions.