Skip to main content
Version: Next

KQ201 — a command or a query reaches its handler

Error · handler-declares-it · Events, commands and queries

A call or a delivery carries only commands and queries the Component it reaches declares, and a leg into a Channel only those some Component declares.

A call, a delivery out of a channel or an in-process call carries a command or a query that the component it reaches doesn't declare. A command or a query belongs to the one component that handles it. Send it to that component, or declare it there.

Examples​

In a shop where send-invoice is declared by the billing service, a call to the order service that carries it raises KQ201:

shipping -> order-service/orders-api over http carries billing/send-invoice

Sent to the billing service, its handler, it raises nothing:

shipping -> billing/invoices-api over http carries send-invoice

© 2026 Extenza Works. All rights reserved.