@@ -1061,7 +1061,9 @@ protected AddressResolver createAddressResolver(List<Address> addresses) {
10611061
10621062 /**
10631063 * Load settings from a property file.
1064- * The default prefix for keys is <code>rabbitmq.</code>
1064+ * Keys must be prefixed with <code>rabbitmq.</code>,
1065+ * use {@link ConnectionFactory#load(String, String)} to
1066+ * specify your own prefix.
10651067 * @param propertyFileLocation location of the property file to use
10661068 * @throws IOException when something goes wrong reading the file
10671069 * @since 4.4.0
@@ -1087,7 +1089,9 @@ public ConnectionFactory load(String propertyFileLocation, String prefix) throws
10871089
10881090 /**
10891091 * Load settings from a {@link Properties} instance.
1090- * The default prefix for keys is <code>rabbitmq.</code>
1092+ * Keys must be prefixed with <code>rabbitmq.</code>,
1093+ * use {@link ConnectionFactory#load(Properties, String)} to
1094+ * specify your own prefix.
10911095 * @param properties source for settings
10921096 * @since 4.4.0
10931097 * @see ConnectionFactoryConfigurator
@@ -1111,7 +1115,9 @@ public ConnectionFactory load(Properties properties, String prefix) {
11111115
11121116 /**
11131117 * Load settings from a {@link Map} instance.
1114- * The default prefix for keys is <code>rabbitmq.</code>
1118+ * Keys must be prefixed with <code>rabbitmq.</code>,
1119+ * use {@link ConnectionFactory#load(Map, String)} to
1120+ * specify your own prefix.
11151121 * @param properties source for settings
11161122 * @since 4.4.0
11171123 * @see ConnectionFactoryConfigurator
0 commit comments