@@ -57,9 +57,9 @@ public class ConnectionFactoryConfigurator {
57
57
public static final String VIRTUAL_HOST = "virtual.host" ;
58
58
public static final String HOST = "host" ;
59
59
public static final String PORT = "port" ;
60
- public static final String REQUESTED_CHANNEL_MAX = "requested .channel.max" ;
61
- public static final String REQUESTED_FRAME_MAX = "requested .frame.max" ;
62
- public static final String REQUESTED_HEARTBEAT = "requested .heartbeat" ;
60
+ public static final String CONNECTION_CHANNEL_MAX = "connection .channel.max" ;
61
+ public static final String CONNECTION_FRAME_MAX = "connection .frame.max" ;
62
+ public static final String CONNECTION_HEARTBEAT = "connection .heartbeat" ;
63
63
public static final String CONNECTION_TIMEOUT = "connection.timeout" ;
64
64
public static final String HANDSHAKE_TIMEOUT = "handshake.timeout" ;
65
65
public static final String SHUTDOWN_TIMEOUT = "shutdown.timeout" ;
@@ -142,15 +142,15 @@ public static void load(ConnectionFactory cf, Map<String, String> properties, St
142
142
if (port != null ) {
143
143
cf .setPort (Integer .valueOf (port ));
144
144
}
145
- String requestedChannelMax = properties .get (prefix + REQUESTED_CHANNEL_MAX );
145
+ String requestedChannelMax = properties .get (prefix + CONNECTION_CHANNEL_MAX );
146
146
if (requestedChannelMax != null ) {
147
147
cf .setRequestedChannelMax (Integer .valueOf (requestedChannelMax ));
148
148
}
149
- String requestedFrameMax = properties .get (prefix + REQUESTED_FRAME_MAX );
149
+ String requestedFrameMax = properties .get (prefix + CONNECTION_FRAME_MAX );
150
150
if (requestedFrameMax != null ) {
151
151
cf .setRequestedFrameMax (Integer .valueOf (requestedFrameMax ));
152
152
}
153
- String requestedHeartbeat = properties .get (prefix + REQUESTED_HEARTBEAT );
153
+ String requestedHeartbeat = properties .get (prefix + CONNECTION_HEARTBEAT );
154
154
if (requestedHeartbeat != null ) {
155
155
cf .setRequestedHeartbeat (Integer .valueOf (requestedHeartbeat ));
156
156
}
0 commit comments