Message Headers
Passing headers to Bus:
$this->commandBus->send(
new CloseTicketCommand($request->get("ticketId")),
["executorUsername" => $security->getUser()->getUsername()]
);#[CommandHandler]
public function closeTicket(
CloseTicketCommand $command,
#[Header("executorUsername")] string $executor
) {
// handle closing ticket
} Converting Headers
Automatic Header Propagation

Message Identification and Correlation
Id
Parent Id


Correlation Id

Last updated
Was this helpful?