@@ -57,9 +57,9 @@ public class ConnectionFactoryConfigurator {
5757 public static final String VIRTUAL_HOST = "virtual.host" ;
5858 public static final String HOST = "host" ;
5959 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" ;
6363 public static final String CONNECTION_TIMEOUT = "connection.timeout" ;
6464 public static final String HANDSHAKE_TIMEOUT = "handshake.timeout" ;
6565 public static final String SHUTDOWN_TIMEOUT = "shutdown.timeout" ;
@@ -142,15 +142,15 @@ public static void load(ConnectionFactory cf, Map<String, String> properties, St
142142 if (port != null ) {
143143 cf .setPort (Integer .valueOf (port ));
144144 }
145- String requestedChannelMax = properties .get (prefix + REQUESTED_CHANNEL_MAX );
145+ String requestedChannelMax = properties .get (prefix + CONNECTION_CHANNEL_MAX );
146146 if (requestedChannelMax != null ) {
147147 cf .setRequestedChannelMax (Integer .valueOf (requestedChannelMax ));
148148 }
149- String requestedFrameMax = properties .get (prefix + REQUESTED_FRAME_MAX );
149+ String requestedFrameMax = properties .get (prefix + CONNECTION_FRAME_MAX );
150150 if (requestedFrameMax != null ) {
151151 cf .setRequestedFrameMax (Integer .valueOf (requestedFrameMax ));
152152 }
153- String requestedHeartbeat = properties .get (prefix + REQUESTED_HEARTBEAT );
153+ String requestedHeartbeat = properties .get (prefix + CONNECTION_HEARTBEAT );
154154 if (requestedHeartbeat != null ) {
155155 cf .setRequestedHeartbeat (Integer .valueOf (requestedHeartbeat ));
156156 }
0 commit comments