CodeExplorer getDefaultPublishRoutingKey example
public function purgeQueues(): void
{ foreach ($this->
getQueueNames() as $queueName) { $this->
queue($queueName)->
purge();
} } private function getRoutingKeyForMessage(?AmqpStamp
$amqpStamp): ?string
{ return $amqpStamp?->
getRoutingKey() ??
$this->
getDefaultPublishRoutingKey();
}}