LocalCommandBus
interface LocalCommandBus : CommandBus, LocalMessageBus<CommandMessage<*>, ServerCommandExchange<*>>
Local Command Bus interface for handling commands within the same JVM instance.
This interface extends both CommandBus and LocalMessageBus, providing synchronous command processing capabilities within a single application instance. Commands are processed locally without network communication.
See also
Inheritors
Properties
Link copied to clipboard
The topic kind for command messages, always returns TopicKind.COMMAND
Functions
Link copied to clipboard
Wraps a LocalCommandBus with metrics collection capabilities. Returns a MetricLocalCommandBus that collects metrics on command operations.
Link copied to clipboard
Receives messages for the specified named aggregates.
Link copied to clipboard
Sends a message through the message bus.
Link copied to clipboard
Returns the number of subscribers for the specified named aggregate.