InMemoryMessageBus
abstract class InMemoryMessageBus<M : Message<*, *>, NamedAggregate, E : MessageExchange<*, M>> : LocalMessageBus<M, E>
Abstract base class for in-memory message bus implementations.
This class provides a local message bus that uses Reactor Sinks for message distribution within a single JVM instance. Messages are sent to subscribers via sinks and can be received by subscribing to the appropriate named aggregates.
Parameters
M
The type of message, must implement both Message and NamedAggregate
E
The type of message exchange