@@ -132,7 +132,7 @@ public class ConnectionFactory implements Cloneable {
132132 * Default is false.
133133 * @since 4.2.0
134134 */
135- private boolean channelCheckRpcReplyType = false ;
135+ private boolean channelShouldCheckRpcResponseType = false ;
136136
137137 /** @return the default host to use for connections */
138138 public String getHost () {
@@ -965,7 +965,7 @@ public ConnectionParams params(ExecutorService consumerWorkServiceExecutor) {
965965 result .setShutdownExecutor (shutdownExecutor );
966966 result .setHeartbeatExecutor (heartbeatExecutor );
967967 result .setChannelRpcTimeout (channelRpcTimeout );
968- result .setChannelShouldCheckRpcResponseType (channelCheckRpcReplyType );
968+ result .setChannelShouldCheckRpcResponseType (channelShouldCheckRpcResponseType );
969969 return result ;
970970 }
971971
@@ -1136,13 +1136,13 @@ public int getChannelRpcTimeout() {
11361136 /**
11371137 * Set whether or not channels check the reply type of an RPC call.
11381138 * Default is false.
1139- * @param channelCheckRpcReplyType
1139+ * @param channelShouldCheckRpcResponseType
11401140 */
1141- public void setChannelCheckRpcReplyType (boolean channelCheckRpcReplyType ) {
1142- this .channelCheckRpcReplyType = channelCheckRpcReplyType ;
1141+ public void setChannelShouldCheckRpcResponseType (boolean channelShouldCheckRpcResponseType ) {
1142+ this .channelShouldCheckRpcResponseType = channelShouldCheckRpcResponseType ;
11431143 }
11441144
1145- public boolean isChannelCheckRpcReplyType () {
1146- return channelCheckRpcReplyType ;
1145+ public boolean isChannelShouldCheckRpcResponseType () {
1146+ return channelShouldCheckRpcResponseType ;
11471147 }
11481148}
0 commit comments