DistributedCommandBus
interface DistributedCommandBus : CommandBus, DistributedMessageBus<CommandMessage<*>, ServerCommandExchange<*>>
Distributed Command Bus interface for handling commands across multiple instances or services.
This interface extends both CommandBus and DistributedMessageBus, enabling asynchronous command processing across distributed systems. Commands may be routed to different services or instances based on load balancing and availability.
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 DistributedCommandBus with metrics collection capabilities. Returns a MetricDistributedCommandBus 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.