MonoMessageProcessor

interface MonoMessageProcessor<P : Any, M : MessageExchange<*, *>, out R : Mono<*>> : ReactiveMessageProcessor<P, M, R>

A message processor that returns a Mono result.

This is a specialized reactive processor for single-value asynchronous results.

Parameters

P

The type of the processor instance

M

The type of message exchange being processed

R

The Mono type result

Inheritors

Properties

Link copied to clipboard
abstract val contextName: String
Link copied to clipboard
abstract val processorName: String

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
abstract fun process(exchange: M): R

Processes the given message exchange and returns a result.