Skip to content

Commit 4acabdf

Browse files
committed
Remove declareCollections from Doc
Incorrectly left over after the property was removed in 2.2.
1 parent 0203b86 commit 4acabdf

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
@@ -5169,8 +5169,6 @@ public static class Config {
51695169

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

51755173
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).
51765174

0 commit comments

Comments
 (0)