← Graph

Command Bus

concept 5 connections

Pattern where commands are dispatched through a bus that maps each command to a single registered handler. Registration happens at boot time; at execution time the publisher simply tells the bus to handle the command without knowing the concrete handler. Contrasted with an event bus where a single message can be handled by multiple subscribers.

category
pattern
about
Command Bus concept
Shows registration and execution of command handlers via a bus.
about
Command Bus concept
Commands returned by the process manager are dispatched through the command bus.
about
Command Bus concept
Service objects dispatch commands on a command bus the talk describes.
about
Command Bus concept
Answer: use fake command bus and assert events/commands.
concept Event Bus
related_to
Command Bus concept
Sister pattern — same registration/execution mechanics, but events fan out to multiple handlers while commands go to one.

Provenance

Read by
8 extractions