Skip to content

Commit

Permalink
feat(AMQP): Add Header constants for consistent AMQP header usage (#58)
Browse files Browse the repository at this point in the history
Introduced a new utility class, `Header`, within the AMQP driver to centralize available header constants.

issue #7
  • Loading branch information
butschster authored Sep 13, 2023
1 parent 9185d6c commit 5347e90
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Queue/AMQP/Header.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

declare(strict_types=1);

namespace Spiral\RoadRunner\Jobs\Queue\AMQP;

interface Header
{
public const ROUTING_KEY = 'x-routing-key';
}

0 comments on commit 5347e90

Please sign in to comment.