@@ -65,9 +65,9 @@ public class ConnectionFactoryConfigurator {
65
65
public static final String SHUTDOWN_TIMEOUT = "shutdown.timeout" ;
66
66
public static final String USE_DEFAULT_CLIENT_PROPERTIES = "use.default.client.properties" ;
67
67
public static final String CLIENT_PROPERTIES_PREFIX = "client.properties." ;
68
- public static final String AUTOMATIC_RECOVERY_ENABLED = "automatic .recovery.enabled" ;
68
+ public static final String CONNECTION_RECOVERY_ENABLED = "connection .recovery.enabled" ;
69
69
public static final String TOPOLOGY_RECOVERY_ENABLED = "topology.recovery.enabled" ;
70
- public static final String NETWORK_RECOVERY_INTERVAL = "network .recovery.interval" ;
70
+ public static final String CONNECTION_RECOVERY_INTERVAL = "connection .recovery.interval" ;
71
71
public static final String CHANNEL_RPC_TIMEOUT = "channel.rpc.timeout" ;
72
72
public static final String CHANNEL_SHOULD_CHECK_RPC_RESPONSE_TYPE = "channel.should.check.rpc.response.type" ;
73
73
public static final String USE_NIO = "use.nio" ;
@@ -183,15 +183,15 @@ public static void load(ConnectionFactory cf, Map<String, String> properties, St
183
183
}
184
184
cf .setClientProperties (clientProperties );
185
185
186
- String automaticRecovery = properties .get (prefix + AUTOMATIC_RECOVERY_ENABLED );
186
+ String automaticRecovery = properties .get (prefix + CONNECTION_RECOVERY_ENABLED );
187
187
if (automaticRecovery != null ) {
188
188
cf .setAutomaticRecoveryEnabled (Boolean .valueOf (automaticRecovery ));
189
189
}
190
190
String topologyRecovery = properties .get (prefix + TOPOLOGY_RECOVERY_ENABLED );
191
191
if (topologyRecovery != null ) {
192
192
cf .setTopologyRecoveryEnabled (Boolean .getBoolean (topologyRecovery ));
193
193
}
194
- String networkRecoveryInterval = properties .get (prefix + NETWORK_RECOVERY_INTERVAL );
194
+ String networkRecoveryInterval = properties .get (prefix + CONNECTION_RECOVERY_INTERVAL );
195
195
if (networkRecoveryInterval != null ) {
196
196
cf .setNetworkRecoveryInterval (Long .valueOf (networkRecoveryInterval ));
197
197
}
0 commit comments