8000 minor #12313 another fix to make amqp messages go to a separate queue… · symfony/symfony-docs@7fe5d72 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7fe5d72

Browse files
committed
minor #12313 another fix to make amqp messages go to a separate queue (weaverryan)
This PR was squashed before being merged into the 4.3 branch (closes #12313). Discussion ---------- another fix to make amqp messages go to a separate queue Sorry! Missed this detail from my PR yesterday. Because the default queue is always named "messages", you need to send to a separate exchange (because exchanges are "fan out" by default... so you need a different exchange per queue if you keep this setting... which is the easiest) and also configure that exchange to bind to a queue of a different name. The end result is that the 2 transports will send messages to 2 separate queues. Commits ------- ac132c2 another fix to make amqp messages go to a separate queue
2 parents 4bc05f0 + ac132c2 commit 7fe5d72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

messenger.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,11 @@ different messages to them. For example:
503503
# queue_name is specific to the doctrine transport
504504
queue_name: high
505505
506-
# for amqp
506+
# for amqp send to a separate exchange then queue
507507
#exchange:
508508
# name: high
509+
#queues:
510+
# messages_high: ~
509511
# or redis try "group"
510512
async_priority_low:
511513
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'

0 commit comments

Comments
 (0)
0