Skip to content

Commit e4aa99a

Browse files
committed
minor #13278 fix XML options config example (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- fix XML options config example fixes #13009 Commits ------- dfa9ddf fix XML options config example
2 parents dcd7c39 + dfa9ddf commit e4aa99a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

messenger.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,9 @@ different messages to them. For example:
538538
<framework:messenger>
539539
<framework:transport name="async_priority_high" dsn="%env(MESSENGER_TRANSPORT_DSN)%">
540540
<framework:options>
541-
<framework:queue_name>high</framework:queue_name>
541+
<framework:queue>
542+
<framework:name>Queue</framework:name>
543+
</framework:queue>
542544
</framework:options>
543545
</framework:transport>
544546
<framework:transport name="async_priority_low" dsn="%env(MESSENGER_TRANSPORT_DSN)%">
@@ -934,7 +936,11 @@ The transport has a number of options:
934936
<framework:messenger>
935937
<framework:transport name="async_priority_high" dsn="%env(MESSENGER_TRANSPORT_DSN)%?queue_name=high_priority"/>
936938
<framework:transport name="async_priority_low" dsn="%env(MESSENGER_TRANSPORT_DSN)%">
937-
<framework:option queue_name="normal_priority"/>
939+
<framework:options>
940+
<framework:queue>
941+
<framework:name>normal_priority</framework:name>
942+
</framework:queue>
943+
</framework:options>
938944
</framework:transport>
939945
</framework:messenger>
940946
</framework:config>

0 commit comments

Comments
 (0)