InMemoryDomainEventBus
In-memory implementation of LocalDomainEventBus.
This class provides an in-memory message bus for domain events, suitable for testing or single-process applications. It uses reactive sinks to handle event publishing and subscription within the same JVM instance.
See also
Constructors
Creates a new InMemoryDomainEventBus with the specified sink supplier
Properties
Functions
Creates an EventStreamExchange from a DomainEventStream.
Wraps a LocalDomainEventBus with metrics collection capabilities. Returns a MetricLocalDomainEventBus that collects metrics on domain event operations.
Receives messages for the specified named aggregates.
Creates a single message source with an explicit transport readiness boundary.
Creates the message source owned by a me.ahoo.wow.runtime.WowRuntime dispatcher.
Sends a message through the in-memory bus.
Attempts local delivery only while a processing subscriber is routable.
Returns the number of subscribers for the specified named aggregate.