InMemoryCommandBus
In-memory implementation of CommandBus for local command processing. This bus uses unicast sinks to ensure each command has exactly one consumer, making it suitable for single-instance or testing scenarios.
Author
ahoo wang
Parameters
Function that creates a unicast sink for each named aggregate. Defaults to an atomic MPSC unicast sink with backpressure buffer.
Constructors
Properties
Functions
Creates a server command exchange for the given command message. This exchange handles the command processing lifecycle.
Wraps a LocalCommandBus with metrics collection capabilities. Returns a MetricLocalCommandBus that collects metrics on command 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.