Remove declareCollections from Doc

Incorrectly left over after the property was removed in 2.2.
This commit is contained in:
Gary Russell
2022-02-01 11:35:06 -05:00
parent 0203b86964
commit 4acabdf25f

View File

@@ -5169,8 +5169,6 @@ public static class Config {
IMPORTANT: In versions prior to 2.1, you could declare multiple `Declarable` instances by defining beans of type `Collection<Declarable>`.
This can cause undesirable side effects in some cases, because the admin has to iterate over all `Collection<?>` beans.
This feature is now disabled in favor of `Declarables`, as discussed earlier in this section.
You can revert to the previous behavior by setting the `RabbitAdmin` property called `declareCollections` to `true`.
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).