Skip to content

Commit 4309ff3

Browse files
committed
Remove declareCollections from Doc
Incorrectly left over after the property was removed in 2.2.
1 parent c27d966 commit 4309ff3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/reference/asciidoc/amqp.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5094,8 +5094,6 @@ public static class Config {
50945094

50955095
IMPORTANT: In versions prior to 2.1, you could declare multiple `Declarable` instances by defining beans of type `Collection<Declarable>`.
50965096
This can cause undesirable side effects in some cases, because the admin has to iterate over all `Collection<?>` beans.
5097-
This feature is now disabled in favor of `Declarables`, as discussed earlier in this section.
5098-
You can revert to the previous behavior by setting the `RabbitAdmin` property called `declareCollections` to `true`.
50995097

51005098
Version 2.2 added the `getDeclarablesByType` method to `Declarables`; this can be used as a convenience, for example, when declaring the listener container bean(s).
51015099

0 commit comments

Comments
 (0)