@@ -1061,7 +1061,9 @@ protected AddressResolver createAddressResolver(List<Address> addresses) {
1061
1061
1062
1062
/**
1063
1063
* 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.
1065
1067
* @param propertyFileLocation location of the property file to use
1066
1068
* @throws IOException when something goes wrong reading the file
1067
1069
* @since 4.4.0
@@ -1087,7 +1089,9 @@ public ConnectionFactory load(String propertyFileLocation, String prefix) throws
1087
1089
1088
1090
/**
1089
1091
* 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.
1091
1095
* @param properties source for settings
1092
1096
* @since 4.4.0
1093
1097
* @see ConnectionFactoryConfigurator
@@ -1111,7 +1115,9 @@ public ConnectionFactory load(Properties properties, String prefix) {
1111
1115
1112
1116
/**
1113
1117
* 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.
1115
1121
* @param properties source for settings
1116
1122
* @since 4.4.0
1117
1123
* @see ConnectionFactoryConfigurator
0 commit comments