Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8c9707f

Browse filesBrowse files
committed
minor #10268 [Messenger] Error in XML configuration (nicoweb)
This PR was merged into the 4.1 branch. Discussion ---------- [Messenger] Error in XML configuration Commits ------- 9ba447c [Messenger] Error in XML configuration
2 parents 107c85b + 9ba447c commit 8c9707f
Copy full SHA for 8c9707f

File tree

Expand file treeCollapse file tree

1 file changed

+16
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-10
lines changed

‎messenger.rst

Copy file name to clipboardExpand all lines: messenger.rst
+16-10Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ the messenger component, the following configuration should have been created:
129129
130130
<!-- config/packages/messenger.xml -->
131131
<?xml version="1.0" encoding="UTF-8" ?>
132-
<container xmlns="http://symfony.com/schema/dic/symfony"
132+
<container xmlns="http://symfony.com/schema/dic/services"
133133
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
134134
xmlns:framework="http://symfony.com/schema/dic/symfony"
135135
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -199,7 +199,7 @@ configuration:
199199
200200
<!-- config/packages/messenger.xml -->
201201
<?xml version="1.0" encoding="UTF-8" ?>
202-
<container xmlns="http://symfony.com/schema/dic/symfony"
202+
<container xmlns="http://symfony.com/schema/dic/services"
203203
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
204204
xmlns:framework="http://symfony.com/schema/dic/symfony"
205205
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -248,7 +248,7 @@ instead of a class name:
248248
249249
<!-- config/packages/messenger.xml -->
250250
<?xml version="1.0" encoding="UTF-8" ?>
251-
<container xmlns="http://symfony.com/schema/dic/symfony"
251+
<container xmlns="http://symfony.com/schema/dic/services"
252252
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
253253
xmlns:framework="http://symfony.com/schema/dic/symfony"
254254
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -295,7 +295,8 @@ A class of messages can also be routed to multiple senders by specifying a list:
295295
.. code-block:: xml
296296
297297
<!-- config/packages/messenger.xml -->
298-
<container xmlns="http://symfony.com/schema/dic/symfony"
298+
<?xml version="1.0" encoding="UTF-8" ?>
299+
<container xmlns="http://symfony.com/schema/dic/services"
299300
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
300301
xmlns:framework="http://symfony.com/schema/dic/symfony"
301302
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -340,7 +341,8 @@ while still having them passed to their respective handler:
340341
.. code-block:: xml
341342
342343
<!-- config/packages/messenger.xml -->
343-
<container xmlns="http://symfony.com/schema/dic/symfony"
344+
<?xml version="1.0" encoding="UTF-8" ?>
345+
<container xmlns="http://symfony.com/schema/dic/services"
344346
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
345347
xmlns:framework="http://symfony.com/schema/dic/symfony"
346348
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -410,7 +412,8 @@ this:
410412
.. code-block:: xml
411413
412414
<!-- config/packages/messenger.xml -->
413-
<container xmlns="http://symfony.com/schema/dic/symfony"
415+
<?xml version="1.0" encoding="UTF-8" ?>
416+
<container xmlns="http://symfony.com/schema/dic/services"
414417
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
415418
xmlns:framework="http://symfony.com/schema/dic/symfony"
416419
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -522,7 +525,8 @@ within the buses to add some extra capabilities like this:
522525
.. code-block:: xml
523526
524527
<!-- config/packages/messenger.xml -->
525-
<container xmlns="http://symfony.com/schema/dic/symfony"
528+
<?xml version="1.0" encoding="UTF-8" ?>
529+
<container xmlns="http://symfony.com/schema/dic/services"
526530
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
527531
xmlns:framework="http://symfony.com/schema/dic/symfony"
528532
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -579,7 +583,8 @@ you can disable them like this:
579583
.. code-block:: xml
580584
581585
<!-- config/packages/messenger.xml -->
582-
<container xmlns="http://symfony.com/schema/dic/symfony"
586+
<?xml version="1.0" encoding="UTF-8" ?>
587+
<container xmlns="http://symfony.com/schema/dic/services"
583588
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
584589
xmlns:framework="http://symfony.com/schema/dic/symfony"
585590
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -717,7 +722,8 @@ Then you can reference and configure the
717722
.. code-block:: xml
718723
719724
<!-- config/packages/messenger.xml -->
720-
<container xmlns="http://symfony.com/schema/dic/symfony"
725+
<?xml version="1.0" encoding="UTF-8" ?>
726+
<container xmlns="http://symfony.com/schema/dic/services"
721727
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
722728
xmlns:framework="http://symfony.com/schema/dic/symfony"
723729
xsi:schemaLocation="http://symfony.com/schema/dic/services
@@ -881,7 +887,7 @@ named transport using your own DSN:
881887
882888
<!-- config/packages/messenger.xml -->
883889
<?xml version="1.0" encoding="UTF-8" ?>
884-
<container xmlns="http://symfony.com/schema/dic/symfony"
890+
<container xmlns="http://symfony.com/schema/dic/services"
885891
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
886892
xmlns:framework="http://symfony.com/schema/dic/symfony"
887893
xsi:schemaLocation="http://symfony.com/schema/dic/services

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.